diff --git a/src/Arduboy2.cpp b/src/Arduboy2.cpp index 7095cd2..04d26cc 100644 --- a/src/Arduboy2.cpp +++ b/src/Arduboy2.cpp @@ -19,11 +19,6 @@ Arduboy2Base::Arduboy2Base() // lastFrameDurationMs } -void Arduboy2Base::start() // deprecated -{ - begin(); -} - // functions called here should be public so users can create their // own init functions if they need different behavior than `begin` // provides by default @@ -200,11 +195,6 @@ uint16_t Arduboy2Base::rawADC(uint8_t adc_bits) /* Graphics */ -void Arduboy2Base::clearDisplay() // deprecated -{ - clear(); -} - void Arduboy2Base::clear() { fillScreen(BLACK); diff --git a/src/Arduboy2.h b/src/Arduboy2.h index f3361b0..3113850 100644 --- a/src/Arduboy2.h +++ b/src/Arduboy2.h @@ -70,7 +70,6 @@ public: * call "audio.begin()". */ void begin(); - void start() __attribute__((deprecated, warning("use begin() instead"))); /// Flashlight mode /** @@ -98,7 +97,6 @@ public: /// Clears display. void clear(); - void clearDisplay() __attribute__((deprecated, warning("use clear() instead"))); /// Copies the contents of the screen buffer to the screen. /** diff --git a/src/core/core.cpp b/src/core/core.cpp index e2b5731..24aad62 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -327,12 +327,6 @@ void ArduboyCore::setRGBled(uint8_t red, uint8_t green, uint8_t blue) /* Buttons */ -uint8_t ArduboyCore::getInput() -{ - return buttonsState(); -} - - uint8_t ArduboyCore::buttonsState() { uint8_t buttons; diff --git a/src/core/core.h b/src/core/core.h index 3575f4b..8e814f1 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -183,7 +183,6 @@ public: * LEFT_BUTTON, A_BUTTON, UP_BUTTON, etc. */ - uint8_t static getInput() __attribute__((deprecated, warning("use buttonsState() instead"))); uint8_t static buttonsState(); // paints 8 pixels (vertically) from a single byte