🎨 Fix some formatting, F() versus PSTR()

This commit is contained in:
Scott Lahteine
2021-07-24 21:41:09 -05:00
parent 4b94fb7558
commit e1907a99e2
18 changed files with 25 additions and 25 deletions

View File

@@ -51,7 +51,7 @@ void LinearAxis::update() {
}
void LinearAxis::interrupt(GpioEvent ev) {
if (ev.pin_id == step_pin && !Gpio::pin_map[enable_pin].value){
if (ev.pin_id == step_pin && !Gpio::pin_map[enable_pin].value) {
if (ev.event == GpioEvent::RISE) {
last_update = ev.timestamp;
position += -1 + 2 * Gpio::pin_map[dir_pin].value;