Trying to reduce memory footprint.

This commit is contained in:
2021-09-02 10:35:21 -07:00
parent f91cc172e9
commit b61c78cec0
2 changed files with 9 additions and 11 deletions

View File

@ -20,18 +20,18 @@
#define MENU_HOLD_DURATION 1.0
typedef struct {
int32_t x;
int32_t y;
int32_t width;
int32_t height;
uint8_t x;
uint8_t y;
uint8_t width;
uint8_t height;
} menuitem_t;
typedef struct {
menuitem_t items[MENU_ITEMS_MAX];
int32_t itemCount;
int32_t selected;
int32_t cursorX;
int32_t cursorY;
uint8_t itemCount;
uint8_t selected;
uint8_t cursorX;
uint8_t cursorY;
// bool holdAllow;
// float holdLast;