Main page config hangs/reboots
- FDR
- Topic Author
- Offline
If you are on the main page config's list of fields, a long ENT takes you to the positioning window, where you can select a field, and with a short ENT you can change to move mode.
However if you press a long ENT there, the TX hangs and reboots, showing the USB screen after that.
The emulators crash too...
This is on a fresh build, the official 5.0 is not effected, it seems...
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- FDR
- Topic Author
- Offline
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
I don't know how do it, but we need to close dialog before PAGE_PushByID().
pages\common\_main_config.c
static void add_dlgbut_cb(struct guiObject *obj, const void *data)
{
(void)obj;
if(!data) {
if ((guiObject_t *)&gui->dialog) {
DialogClose((guiObject_t *)&gui->dialog, 0);
}
PAGE_PushByID(PAGEID_LOADSAVE, LOAD_LAYOUT);
}
}
It work, I can open "Load Layout" and load any layout. But, it can't compile for transmitters that have not dialog window.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
static void add_dlgbut_cb(struct guiObject *obj, const void *data)
{
(void)obj;
if(!data) {
if (OBJ_IS_USED(&gui->dialog))
GUI_RemoveHierObjects((guiObject_t *)&gui->dialog);
PAGE_PushByID(PAGEID_LOADSAVE, LOAD_LAYOUT);
}
}
Please Log in or Create an account to join the conversation.
- FDR
- Topic Author
- Offline
ERROR: Page stack limit(6) exceeded
Please Log in or Create an account to join the conversation.
- FDR
- Topic Author
- Offline
vlad_vy wrote:
static void add_dlgbut_cb(struct guiObject *obj, const void *data) { (void)obj; if(!data) { if (OBJ_IS_USED(&gui->dialog)) GUI_RemoveHierObjects((guiObject_t *)&gui->dialog); PAGE_PushByID(PAGEID_LOADSAVE, LOAD_LAYOUT); } }
This works for the DEVO 8.
What more do we need to check?
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
I will place pull request.
Please Log in or Create an account to join the conversation.
- vlad_vy
- Offline
- Posts: 3333
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- FDR
- Topic Author
- Offline
Our own had the advantage, that the users could report bugs without the need of a new registration and login, and they were still named users not just guests...
However since the Mantis integration is broken (since a Joomla upgrade there are a lot of naming conflicts), I have rather enabled the GitHub issue tracker in GitHub. It was enabled for the other two repositories anyway...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Main page config hangs/reboots