diff --git a/readme.md b/readme.md index 536e238..64a8e94 100644 --- a/readme.md +++ b/readme.md @@ -1433,7 +1433,7 @@ The 7 SEGMENT.TTF font from the [docs](docs) directory needs to be installed to | ```meter_lug_size(type)``` | Lug length and width | | ```meter_offset(type)``` | Display position, 0 = center, +1 = top | | ```meter_pcb_size(type)``` | PCB size excluding lugs | -| ```meter_shunt(type)``` | Ampmeter shunt wire | +| ```meter_shunt(type)``` | Ammeter shunt wire | | ```meter_size(type)``` | Size of display | ### Functions diff --git a/vitamins/led_meter.scad b/vitamins/led_meter.scad index 981b78c..37af9f3 100644 --- a/vitamins/led_meter.scad +++ b/vitamins/led_meter.scad @@ -34,7 +34,7 @@ function meter_lug_size(type) = type[4]; //! Lug length and width function meter_lug_offset(type) = type[5]; //! Lug position, 0 = center, +1 = top function meter_hole_pitch(type) = type[6]; //! Lug hole pitch function meter_hole_radius(type) = type[7]; //! Lug hole radius -function meter_shunt(type) = type[8]; //! Ampmeter shunt wire +function meter_shunt(type) = type[8]; //! Ammeter shunt wire function meter_pos(type) = (meter_pcb_size(type).y - meter_size(type).y) * meter_offset(type) / 2; function meter_lug_pos(type) = (meter_pcb_size(type).y - meter_lug_size(type).y) * meter_lug_offset(type) / 2;