mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2025-02-21 06:57:27 -05:00
Set size variable for main menu button array
This commit is contained in:
parent
e42b21fdf3
commit
66a9d82308
@ -3,6 +3,7 @@
|
|||||||
#include <avr/pgmspace.h>
|
#include <avr/pgmspace.h>
|
||||||
|
|
||||||
#include "button.h"
|
#include "button.h"
|
||||||
|
#include "menu_utils.h"
|
||||||
#include "morse.h"
|
#include "morse.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
#include "ubitx.h"//THRESHOLD_USB_LSB
|
#include "ubitx.h"//THRESHOLD_USB_LSB
|
||||||
@ -24,6 +25,7 @@ bool mainMenuSelecting = false;//Tracks if we're selecting buttons with knob, or
|
|||||||
uint8_t mainMenuSelectedItemRaw = 0;
|
uint8_t mainMenuSelectedItemRaw = 0;
|
||||||
|
|
||||||
const Button mainMenuButtons [] PROGMEM = {};
|
const Button mainMenuButtons [] PROGMEM = {};
|
||||||
|
static constexpr uint8_t MAIN_MENU_NUM_BUTTONS = sizeof(mainMenuButtons) / sizeof(mainMenuButtons[0]);
|
||||||
|
|
||||||
void drawMainMenu(void)
|
void drawMainMenu(void)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user