diff options
Diffstat (limited to 'hal/sdl2/display.hpp')
-rw-r--r-- | hal/sdl2/display.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hal/sdl2/display.hpp b/hal/sdl2/display.hpp index a267cae..e9302bc 100644 --- a/hal/sdl2/display.hpp +++ b/hal/sdl2/display.hpp @@ -1,6 +1,7 @@ #pragma once #ifdef SDL2_BUILD #include <SDL.h> +#include "pico/types.h" class SDLDisplay { public: @@ -10,6 +11,7 @@ public: // When returning false, please quit the program (return from main) bool update_display(const uint8_t* oled_screen); bool process_input(); + bool get_datetime(datetime_t* t); private: SDL_Window* m_window = nullptr; SDL_Renderer* m_renderer = nullptr; |