diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-07-20 22:48:06 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-07-20 22:48:06 +0300 |
commit | 63e77d6af6153cefa1073649e4027a17d6ab9b09 (patch) | |
tree | fea4ec9e5ad811ed9d21f9c1319a6935939c9c54 /src/Pccb | |
parent | a920aaeb7d00a553f43dbc53e307bcfa75bfd651 (diff) |
More changes for PCCB
Turn LEDs off at startup
Fixed DotStar LED driver
Delay mounting the SD card until ready to run config,g
Increased SD card retry delay from 10ms to 30ms
Diffstat (limited to 'src/Pccb')
-rw-r--r-- | src/Pccb/Pins_Pccb.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/Pccb/Pins_Pccb.h b/src/Pccb/Pins_Pccb.h index 19ad1582..c361156b 100644 --- a/src/Pccb/Pins_Pccb.h +++ b/src/Pccb/Pins_Pccb.h @@ -25,7 +25,7 @@ constexpr size_t NumFirmwareUpdateModules = 1; // 1 module #define TMC22xx_HAS_MUX 0 #define HAS_VOLTAGE_MONITOR 1 #define HAS_VREF_MONITOR 1 -#define ACTIVE_LOW_HEAT_ON 1 // irrelevant because there are no heaters +#define ACTIVE_LOW_HEAT_ON 1 // although we have no heaters, this matters because we treat the LEDs as heaters #define SUPPORT_INKJET 0 // set nonzero to support inkjet control #define SUPPORT_ROLAND 0 // set nonzero to support Roland mill @@ -132,11 +132,9 @@ constexpr size_t NumTachos = 2; constexpr Pin COOLING_FAN_PINS[NUM_FANS] = { 16, 39, 15, 37 }; // PWML2, PWML3, TIOA1, PWML1 constexpr Pin TachoPins[NumTachos] = { 26, 66 }; -#if 0 // currently unused // Main LED control -constexpr size_t NUM_LEDS = 2; // number of main LEDs -constexpr Pin LedOnPins[NUM_LEDS] = { 36, 59 }; // LED control pins -#endif +constexpr size_t NumLeds = 2; // number of main LEDs +constexpr Pin LedOnPins[NumLeds] = { 36, 59 }; // LED control pins // DotStar LED control (USART0 is SharedSPI, Usart * const DotStarUsart = USART1; |