Skip to content

Commit

Permalink
Daniel/core/menu initializer fix (#174)
Browse files Browse the repository at this point in the history
* minor fix
Unreal-Dan authored Dec 22, 2023
1 parent be2173e commit a9d0483
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions VortexEngine/src/Leds/Leds.cpp
Original file line number Diff line number Diff line change
@@ -12,10 +12,10 @@
#include "../../VortexLib/VortexLib.h"
#endif

// array of led color values
RGBColor Leds::m_ledColors[LED_COUNT] = { RGB_OFF };
// global brightness
uint8_t Leds::m_brightness = DEFAULT_BRIGHTNESS;
// array of led color values
RGBColor Leds::m_ledColors[LED_COUNT] = { RGB_OFF };

bool Leds::init()
{
2 changes: 1 addition & 1 deletion VortexEngine/src/Menus/Menus.cpp
Original file line number Diff line number Diff line change
@@ -20,8 +20,8 @@

// static members
Menus::MenuState Menus::m_menuState = MENU_STATE_NOT_OPEN;
uint32_t Menus::m_openTime = 0;
uint8_t Menus::m_selection = 0;
uint32_t Menus::m_openTime = 0;
Menu *Menus::m_pCurMenu = nullptr;

// typedef for the menu initialization function

0 comments on commit a9d0483

Please sign in to comment.