Skip to content

Commit

Permalink
Reorganized main driver code for readability, minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Jan 27, 2024
1 parent 9008625 commit a2682cc
Show file tree
Hide file tree
Showing 4 changed files with 301 additions and 312 deletions.
7 changes: 5 additions & 2 deletions main/boards/cnc_boosterpack_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
#endif

#if !EEPROM_ENABLE
#undef EEPROM_ENABLE
#define EEPROM_ENABLE 1 // I2C EEPROM (24LC16) support.
//#undef EEPROM_ENABLE
//#define EEPROM_ENABLE 1 // I2C EEPROM (24LC16) support.
#endif

#if !IOEXPAND_ENABLE
Expand Down Expand Up @@ -105,6 +105,9 @@

#if I2C_STROBE_ENABLE
#define I2C_STROBE_PIN GPIO_NUM_33
#elif NEOPIXELS_ENABLE
#define NEOPIXELS_PIN GPIO_NUM_33
#define NEOPIXELS_NUM NEOPIXELS_ENABLE
#else
#define AUXINPUT0_PIN GPIO_NUM_33
#endif
Expand Down
Loading

0 comments on commit a2682cc

Please sign in to comment.