️ Optimize Sensitive Pins array (except STM32) (#22080)

This commit is contained in:
Scott Lahteine
2021-06-08 19:55:27 -05:00
committed by Scott Lahteine
parent bfa257902e
commit 967942460e
7 changed files with 83 additions and 70 deletions

View File

@ -198,7 +198,7 @@ constexpr pin_t GET_PIN_MAP_PIN(const int16_t index) {
// Parse a G-code word into a pin index
int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
// P0.6 thru P0.9 are for the onboard SD card
#define HAL_SENSITIVE_PINS P0_06, P0_07, P0_08, P0_09
#define HAL_SENSITIVE_PINS P0_06, P0_07, P0_08, P0_09,
#define HAL_IDLETASK 1
void HAL_idletask();