diff --git a/inc/compat/MicroBitCompat.h b/inc/compat/MicroBitCompat.h index 24e6e52b..61f18602 100644 --- a/inc/compat/MicroBitCompat.h +++ b/inc/compat/MicroBitCompat.h @@ -352,9 +352,6 @@ const uint16_t MICROBIT_ID_MBED_TICKER __attribute__ ((deprecated)) = 83; #define MICROBIT_ID_IO_P20 ID_PIN_P20 #define MICROBIT_ID_LOGO ID_PIN_LOGO -// For MakeCode extension compat. Delete ASAP. -#define MICROBIT_ID_FACE ID_PIN_FACE - #define MICROBIT_ID_MESSAGE_BUS_LISTENER DEVICE_ID_MESSAGE_BUS_LISTENER #define MICROBIT_ID_MULTIBUTTON_ATTACH DEVICE_ID_MULTIBUTTON_ATTACH #define MICROBIT_ID_NOTIFY DEVICE_ID_NOTIFY diff --git a/model/MicroBitIO.cpp b/model/MicroBitIO.cpp index aa680dd9..c75008bf 100644 --- a/model/MicroBitIO.cpp +++ b/model/MicroBitIO.cpp @@ -89,8 +89,7 @@ MicroBitIO::MicroBitIO(NRF52ADC &a, TouchSensor &s) : col4(P6), col5(P10), buttonA(P5), - buttonB(P11), - face(logo) + buttonB(P11) { pins = 33; NRF52Pin::adc = &a; diff --git a/model/MicroBitIO.h b/model/MicroBitIO.h index a3cda84c..29b410ca 100644 --- a/model/MicroBitIO.h +++ b/model/MicroBitIO.h @@ -245,9 +245,6 @@ typedef enum { #define MICROBIT_PIN_BUTTON_B P0_23 #define MICROBIT_PIN_LOGO_TOUCH P1_04 -// FOR MakeCode extension compat. Delete ASAP. -#define MICROBIT_PIN_FACE_TOUCH MICROBIT_PIN_LOGO_TOUCH - // Audio #define MICROBIT_PIN_RUN_MIC P0_20 #define MICROBIT_PIN_MIC_IN P0_05 @@ -338,9 +335,6 @@ typedef enum { #define ID_PIN_P46 (DEVICE_ID_IO_P0 + 46) #define ID_PIN_P47 (DEVICE_ID_IO_P0 + 47) -// For MakeCode extension compat. Delete ASAP. -#define ID_PIN_FACE (ID_PIN_LOGO) - // // Saved status values to restore GPIO configurations after deep sleep // @@ -413,7 +407,6 @@ namespace codal NRF52Pin& col5; NRF52Pin& buttonA; NRF52Pin& buttonB; - NRF52Pin& face; // Temporary compat for MakeCode extension. Delete ASAP. /**