Skip to content

Commit

Permalink
fix swapped configs
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwhitehead committed Apr 20, 2024
1 parent d3f6a00 commit b129f07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/sp140/sp140.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b129f07

Please sign in to comment.