Move SENSITIVE_PINS to its own file

This commit is contained in:
Scott Lahteine committed 2018-10-11 01:10:11 -05:00
1 parent 45e738876a
commit 1407afad73
4 files changed
+532 -124

No files matched your search

+3
View File
@@ -259,6 +259,9 @@ void setup_powerhold() {
/**
* Sensitive pin test for M42, M226
*/
#include "pins/sensitive_pins.h"
bool pin_is_protected(const pin_t pin) {
static const pin_t sensitive_pins[] PROGMEM = SENSITIVE_PINS;
for (uint8_t i = 0; i < COUNT(sensitive_pins); i++) {