Improve menu handling

This commit is contained in:
3djc
2020-11-24 08:57:16 +01:00
parent 2dfa8a80ab
commit e2f4805725
18 changed files with 43 additions and 13 deletions
+2 -4
View File
@@ -18,8 +18,7 @@
* GNU General Public License for more details.
*/
#ifndef _OPENTX_H_
#define _OPENTX_H_
#pragma once
#include <stdlib.h>
#include "definitions.h"
@@ -1131,7 +1130,7 @@ union ReusableBuffer
#if defined(GHOST)
struct {
GhostMenuData line[GHST_MENU_LINES + 1];
uint8_t menuFlags;
uint8_t menuStatus;
uint8_t menuAction;
uint8_t buttonAction;
} ghostMenu;
@@ -1341,4 +1340,3 @@ inline bool isAsteriskDisplayed()
#include "thirdparty/libACCESS/libAccess.h"
#endif
#endif // _OPENTX_H_