Skip to content

Commit

Permalink
Made maxaxis overridable
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Jun 14, 2024
1 parent cb98539 commit a3d9f31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Firmware/FFBoard/Inc/constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
*/

static const uint8_t SW_VERSION_INT[3] = {1,15,0}; // Version as array. 8 bit each!
#ifndef MAX_AXIS
#define MAX_AXIS 2 // ONLY USE 2 for now else screws HID Reports
#endif
#if !(MAX_AXIS > 0 && MAX_AXIS <= 3)
#error "MAX_AXIS must be between 1 and 3"
#endif

#define FLASH_VERSION 0 // Counter to increase whenever a full flash erase is required.

//#define DEBUGLOG // Uncomment to enable some debug printouts
Expand Down

0 comments on commit a3d9f31

Please sign in to comment.