aboutsummaryrefslogtreecommitdiffstats
path: root/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'init.cpp')
-rw-r--r--init.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/init.cpp b/init.cpp
index 11d38a6..eb33533 100644
--- a/init.cpp
+++ b/init.cpp
@@ -4,17 +4,8 @@
extern "C" {
#include "hardware/rtc.h"
}
-#include "oled/ss_oled.h"
#include "init.hpp"
-SSOLED oled;
-
-void init_display() {
- oledInit(&oled, OLED_128x64, 0x3d, 0, 0, 1, SDA_PIN, SCL_PIN, RESET_PIN, 1000000L);
- oledFill(&oled, 0,1);
- oledSetContrast(&oled, OLED_DEFAULT_CONTRAST);
- //oledSetTextWrap(&oled, true);
-}
void init_rtc() {
datetime_t init_date = {
@@ -31,6 +22,5 @@ void init_rtc() {
void init_all() {
stdio_init_all();
- init_display();
init_rtc();
}