Skip to content

Commit

Permalink
Daniel/spark/next work (#137)
Browse files Browse the repository at this point in the history
* minor fixes
  • Loading branch information
Unreal-Dan authored Dec 12, 2023
1 parent 0d766a7 commit 30ebf23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VortexEngine/src/Buttons/Buttons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "../Time/Timings.h"
#endif

#ifdef SPARK_HANDLE
#if SPARK_HANDLE == 1
// handle is on 47
#define BUTTON_PIN 47
#else
Expand Down
2 changes: 1 addition & 1 deletion VortexEngine/src/Leds/Leds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#pragma GCC diagnostic ignored "-Wclass-memaccess"
#include <FastLED.h>
#define LED_PIN 16
#ifdef SPARK_HANDLE
#if SPARK_HANDLE == 1
#define MOSFET_PIN 48
#else
#define MOSFET_PIN 18
Expand Down
3 changes: 2 additions & 1 deletion VortexEngine/src/VortexConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
#define VORTEX_SLIM 0

// Turn on this flag to change from Spark Orbit pins to Spark Handle pins
#define SPARK_HANDLE
// TODO: remove this once the spark orbit and handle have matching hardware
#define SPARK_HANDLE 0

// ===================================================================
// Numeric Configurations
Expand Down

0 comments on commit 30ebf23

Please sign in to comment.