diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-09-04 11:25:08 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-09-04 11:25:08 +0300 |
commit | 6d7486602f47d18d8ff3c887f6253d470cf9711e (patch) | |
tree | 0c85f715a1751bebf9937c989f22c07afd5810c0 /src/Pccb | |
parent | e49bf9991f74f5fd13935add8a19245431f2b2ee (diff) |
Refactored aux port support to handle multiple aux ports
Also stop analog input task on SAME5x build when preparing to load IAP
Diffstat (limited to 'src/Pccb')
-rw-r--r-- | src/Pccb/Pins_Pccb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Pccb/Pins_Pccb.h b/src/Pccb/Pins_Pccb.h index d9dfb797..f63ac999 100644 --- a/src/Pccb/Pins_Pccb.h +++ b/src/Pccb/Pins_Pccb.h @@ -113,7 +113,7 @@ constexpr unsigned int MaxTriggers = 16; // Maximum number of triggers constexpr size_t MaxSpindles = 2; // Maximum number of configurable spindles -constexpr size_t NUM_SERIAL_CHANNELS = 1; // The number of serial IO channels (USB only) +constexpr size_t NumSerialChannels = 1; // The number of serial IO channels (USB only) #define SERIAL_MAIN_DEVICE SerialUSB // SerialUSB @@ -351,10 +351,10 @@ constexpr const char *DefaultGpioPinNames[] = { "led", "leddim" }; #if defined(PCCB_10) constexpr const char *DefaultFanPinNames[] = { "fan0", "fan1", "fan2", "fan3", "fan4", "!fan5+fan5a.tach", "nil+fan5b.tach" }; -constexpr PwmFrequency DefaultFanPwmFrequencies[] = { DefaultFanPwmFreq, DefaultFanPwmFreq, DefaultFanPwmFreq, DefaultFanPwmFreq, DefaultFanPwmFreq, 25000 }; +constexpr PwmFrequency DefaultFanPwmFrequencies[] = { 0, 0, 0, 0, 0, 25000 }; #else constexpr const char *DefaultFanPinNames[] = { "fan0", "fan1", "fan2", "!fan3+fan3a.tach", "nil+fan3btach" }; -constexpr PwmFrequency DefaultFanPwmFrequencies[] = { DefaultFanPwmFreq, DefaultFanPwmFreq, DefaultFanPwmFreq, 25000 }; +constexpr PwmFrequency DefaultFanPwmFrequencies[] = { 0, 0, 0, 25000 }; #endif #endif |