diff options
| author | krolyxon <me@krolyxon.com> | 2026-05-14 23:14:31 +0530 |
|---|---|---|
| committer | krolyxon <me@krolyxon.com> | 2026-05-14 23:14:31 +0530 |
| commit | 206ed229198be252a9ae94342b39618aaab55925 (patch) | |
| tree | 06d2ad100372c595974f1c6dcb1cd23ccdd26207 /src/ui/display.cpp | |
| parent | 3672abc8b44c50ab344aeaf3c720c8502ccc128d (diff) | |
apply code formatting
Diffstat (limited to 'src/ui/display.cpp')
| -rw-r--r-- | src/ui/display.cpp | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/src/ui/display.cpp b/src/ui/display.cpp index 12c9ac9..3b7b263 100644 --- a/src/ui/display.cpp +++ b/src/ui/display.cpp @@ -1,16 +1,11 @@ #include "display.h" -#include <Wire.h> #include "config.h" +#include <Wire.h> +U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, U8X8_PIN_NONE); -U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2( - U8G2_R0, - U8X8_PIN_NONE -); - -void displayInit() -{ - Wire.begin(OLED_SDA_PIN, OLED_SCL_PIN); - u8g2.begin(); - u8g2.setFont(u8g2_font_6x12_tr); +void displayInit() { + Wire.begin(OLED_SDA_PIN, OLED_SCL_PIN); + u8g2.begin(); + u8g2.setFont(u8g2_font_6x12_tr); } |
