Menu implementation structure done. Menus far from finished but basic structure is functional
Scheck-in for TLa for PID tuning git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@252 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "repairMenu.h"
|
||||
|
||||
#include "platform.h"
|
||||
#include "storm700.h"
|
||||
#include "Observable.h"
|
||||
#include "rtc.h"
|
||||
|
||||
@@ -66,8 +67,6 @@ static ErrorStatus repairMenus_mainMenuObserverFromISR(const void* const data);
|
||||
// Function definitions
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
//TODO REMOVE
|
||||
extern struct Display* display;
|
||||
ErrorStatus repairMenus_construct(void)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
@@ -75,7 +74,7 @@ ErrorStatus repairMenus_construct(void)
|
||||
if (returnValue == SUCCESS)
|
||||
{
|
||||
// Create first repair menu
|
||||
returnValue = repairMenu_construct(mainMenu, mainDisplay, HSB_MAINMENU_TASK_PRIORITY, HSB_MAINMENU_TASK_STACKSIZE);
|
||||
returnValue = repairMenu_construct(mainMenu, mainDisplay, &storm700->keyboardDevice, HSB_MAINMENU_TASK_PRIORITY, HSB_MAINMENU_TASK_STACKSIZE, PRESSED);
|
||||
}
|
||||
|
||||
if (returnValue == SUCCESS)
|
||||
|
||||
Reference in New Issue
Block a user