diff --git a/src/Arduboy2.cpp b/src/Arduboy2.cpp index 460cb36..bd6d182 100644 --- a/src/Arduboy2.cpp +++ b/src/Arduboy2.cpp @@ -93,7 +93,7 @@ void Arduboy2Base::sysCtrlSound(uint8_t buttons, uint8_t led, uint8_t eeVal) delay(500); digitalWriteRGB(led, RGB_OFF); // turn off "acknowledge" LED - while (pressed(buttons)) {} // Wait for button release + while (pressed(buttons)) { } // Wait for button release } } @@ -177,7 +177,8 @@ bool Arduboy2Base::nextFrame() return post_render; } -bool Arduboy2Base::nextFrameDEV() { +bool Arduboy2Base::nextFrameDEV() +{ bool ret = nextFrame(); if (ret) { @@ -1155,11 +1156,13 @@ void Arduboy2::setCursor(int16_t x, int16_t y) cursor_y = y; } -int16_t Arduboy2::getCursorX() { +int16_t Arduboy2::getCursorX() +{ return cursor_x; } -int16_t Arduboy2::getCursorY() { +int16_t Arduboy2::getCursorY() +{ return cursor_y; } @@ -1184,7 +1187,8 @@ void Arduboy2::setTextWrap(bool w) textWrap = w; } -void Arduboy2::clear() { +void Arduboy2::clear() +{ Arduboy2Base::clear(); cursor_x = cursor_y = 0; } diff --git a/src/Arduboy2Core.cpp b/src/Arduboy2Core.cpp index 471f067..ada4611 100644 --- a/src/Arduboy2Core.cpp +++ b/src/Arduboy2Core.cpp @@ -71,7 +71,7 @@ const uint8_t PROGMEM lcdBootProgram[] = { }; -Arduboy2Core::Arduboy2Core() {} +Arduboy2Core::Arduboy2Core() { } void Arduboy2Core::boot() {