️ 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

@ -186,7 +186,7 @@ inline void HAL_adc_init() {
#define GET_PIN_MAP_INDEX(pin) pin
#define PARSED_PIN_INDEX(code, dval) parser.intval(code, dval)
#define HAL_SENSITIVE_PINS 0, 1
#define HAL_SENSITIVE_PINS 0, 1,
#ifdef __AVR_AT90USB1286__
#define JTAG_DISABLE() do{ MCUCR = 0x80; MCUCR = 0x80; }while(0)