Change footprint name

This commit is contained in:
Marco Massarelli 2024-01-28 18:28:37 +00:00
parent 17b3640c6d
commit 031bd20b89
2 changed files with 3 additions and 3 deletions

View File

@ -843,7 +843,7 @@ pcbs:
shift: [0.5 ks + 10.147, 0.375 kp -20.75]
on_off_switch:
what: power_switch
what: power_switch_smd_side
where: matrix_inner_top
params:
from: BAT_P

View File

@ -45,7 +45,7 @@
module.exports = {
params: {
designator: 'SW',
designator: 'PWR',
side: 'F',
reversible: false,
invert_behavior: true,
@ -56,7 +56,7 @@ module.exports = {
},
body: p => {
const common_start = `
(module power_switch (layer ${p.side}.Cu) (tedit 64473C6F)
(module "ceoloide/power_switch_smd_side" (layer ${p.side}.Cu) (tedit 64473C6F)
${p.at /* parametric position */}
(attr smd)
(fp_text value "reset_button" (at 0 2.5 ${p.rot}) (layer ${p.side}.Fab)