From eb18ae900340816372df30496adc59840dac40d1 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Thu, 1 Feb 2018 23:46:02 -0600 Subject: [PATCH] Define LSBFIRST / MSBFIRST for LPC --- Marlin/src/HAL/HAL_LPC1768/include/Arduino.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Marlin/src/HAL/HAL_LPC1768/include/Arduino.h b/Marlin/src/HAL/HAL_LPC1768/include/Arduino.h index 64c0e9ec8..f823df947 100644 --- a/Marlin/src/HAL/HAL_LPC1768/include/Arduino.h +++ b/Marlin/src/HAL/HAL_LPC1768/include/Arduino.h @@ -28,16 +28,20 @@ #include "../pinmapping.h" -#define LOW 0x00 #define HIGH 0x01 -#define CHANGE 0x02 -#define FALLING 0x03 -#define RISING 0x04 +#define LOW 0x00 #define INPUT 0x00 #define OUTPUT 0x01 #define INPUT_PULLUP 0x02 +#define LSBFIRST 0 +#define MSBFIRST 1 + +#define CHANGE 0x02 +#define FALLING 0x03 +#define RISING 0x04 + #define E2END 0xFFF // EEPROM end address typedef uint8_t byte;