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.

33 lines
625 B

2 years ago
#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());
2 years ago
}
}
int DeviceAppContext::getMainPageId() {
return PAGE_ID_MAIN;
}
bool DeviceAppContext::isAutoRepeatAction(int action) {
return action == ACTION_ID_KEYPAD_BACK;
}
} // namespace gui
} // namespace eez