Template project for running EEZ Flow firmware project using STM32F469I-DISCO development board
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
625 B

#include <eez/core/sound.h>
#include <eez/gui/gui.h>
#include <eez/gui/touch_calibration.h>
#include "app_context.h"
#include "document.h"
#include "keypad.h"
namespace eez {
namespace gui {
DeviceAppContext g_deviceAppContext;
void DeviceAppContext::stateManagment() {
AppContext::stateManagment();
if (getActivePageId() == PAGE_ID_NONE) {
showPage(getMainPageId());
}
}
int DeviceAppContext::getMainPageId() {
return PAGE_ID_MAIN;
}
bool DeviceAppContext::isAutoRepeatAction(int action) {
return action == ACTION_ID_KEYPAD_BACK;
}
} // namespace gui
} // namespace eez