From b129f076b2cfefa9d42a986743e6181cd65f7b95 Mon Sep 17 00:00:00 2001 From: Zach Whitehead Date: Fri, 19 Apr 2024 22:59:29 -0500 Subject: [PATCH] fix swapped configs --- src/sp140/sp140.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/sp140/sp140.ino b/src/sp140/sp140.ino index 171f5628..93f636d1 100644 --- a/src/sp140/sp140.ino +++ b/src/sp140/sp140.ino @@ -85,8 +85,8 @@ TaskHandle_t watchdogTaskHandle = NULL; SemaphoreHandle_t eepromSemaphore; SemaphoreHandle_t tftSemaphore; -// V1 configuration -HardwareConfig v1_config = { +// V2 configuration +HardwareConfig v2_config = { .button_top = 7, .buzzer_pin = 2, .led_sw = LED_BUILTIN, @@ -100,8 +100,8 @@ HardwareConfig v1_config = { .enable_vib = true }; -// V2 configuration -HardwareConfig v2_config = { +// V1 configuration +HardwareConfig v1_config = { .button_top = 15, .buzzer_pin = 10, .led_sw = 12, @@ -393,7 +393,7 @@ void loop() { #ifdef M0_PIO - Watchdog.reset(); + Watchdog.reset(); // reset the watchdog timer (done in task for RP2040) #endif // from WebUSB to both Serial & webUSB