aboutsummaryrefslogtreecommitdiffstats
path: root/init.hpp
diff options
context:
space:
mode:
authorConfuSomu2021-02-27 13:29:37 -0500
committerConfuSomu2021-02-27 13:29:37 -0500
commit2a0571ba87183023b1073af1badb5fb91da763cf (patch)
treeb73cd5d8d810e398c614611ecd7b602d10d7b58d /init.hpp
parent06d5f492eca8e57bc8ce7479ec6149fbc6a15d08 (diff)
downloadpico-watch-2a0571ba87183023b1073af1badb5fb91da763cf.tar
pico-watch-2a0571ba87183023b1073af1badb5fb91da763cf.tar.gz
pico-watch-2a0571ba87183023b1073af1badb5fb91da763cf.zip
Use an Api class for abstraction
It is currently very basic as functions will be added to it when the time comes. The idea is to have a method to, for example, show notifications (and store them in a list with metadata) to the user or also to easily show a message box overlaying the current display. Private class members will permit encapsulations of variables related to these features and limit the privilage that each app has on the device.
Diffstat (limited to 'init.hpp')
-rw-r--r--init.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/init.hpp b/init.hpp
index f63187f..fc2a53f 100644
--- a/init.hpp
+++ b/init.hpp
@@ -7,7 +7,6 @@
#define SCL_PIN 7
#define RESET_PIN -1
#define OLED_DEFAULT_CONTRAST 40
-extern SSOLED oled;
// Initial date & time
// The idea is to have the compiler set the date at compile-time.
@@ -23,8 +22,6 @@ extern SSOLED oled;
// Init every componement
void init_all();
-// Init OLED display
-void init_display();
// Init onboard RTC
void init_rtc();