Fixing import loop
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#include "UI_Elements.h"
|
||||
#include "FontUtils.h"
|
||||
#include "OLED.hpp"
|
||||
#include "UI.h"
|
||||
void render_Text(const ElementSettings_t *settings, screen_arg_t *args);
|
||||
void render_Number(const ElementSettings_t *settings, screen_arg_t *args);
|
||||
void render_Image(const ElementSettings_t *settings, screen_arg_t *args);
|
||||
@@ -54,7 +55,7 @@ void render_Number(const ElementSettings_t *settings, screen_arg_t *args) {
|
||||
}
|
||||
void render_Image(const ElementSettings_t *settings, screen_arg_t *args) {
|
||||
// arg is a pointer to the raw image data to display
|
||||
OLED::drawArea(settings->position.x, settings->position.y, settings->size.w, settings->size.h, (uint8_t *)args->ptr)
|
||||
OLED::drawArea(settings->position.x, settings->position.y, settings->size.w, settings->size.h, (uint8_t *)args->ptr);
|
||||
}
|
||||
void render_PowerSource(const ElementSettings_t *settings, screen_arg_t *args) {
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user