Cosmetics
This commit is contained in:
@@ -17,21 +17,23 @@
|
|||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opentx.h"
|
#include "opentx.h"
|
||||||
#include "boot.h"
|
#include "boot.h"
|
||||||
#include "bin_files.h"
|
#include "bin_files.h"
|
||||||
|
|
||||||
#if defined(PCBXLITE)
|
#if defined(PCBXLITE)
|
||||||
#define BOOTLOADER_KEYS 0x0F
|
#define BOOTLOADER_KEYS 0x0F
|
||||||
#else
|
#else
|
||||||
#define BOOTLOADER_KEYS 0x42
|
#define BOOTLOADER_KEYS 0x42
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define APP_START_ADDRESS (uint32_t)(FIRMWARE_ADDRESS + BOOTLOADER_SIZE)
|
#define APP_START_ADDRESS (uint32_t)(FIRMWARE_ADDRESS + BOOTLOADER_SIZE)
|
||||||
|
|
||||||
#if defined(EEPROM)
|
#if defined(EEPROM)
|
||||||
#define MAIN_MENU_LEN 3
|
#define MAIN_MENU_LEN 3
|
||||||
#else
|
#else
|
||||||
#define MAIN_MENU_LEN 2
|
#define MAIN_MENU_LEN 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef void (*voidFunction)(void);
|
typedef void (*voidFunction)(void);
|
||||||
|
|||||||
@@ -312,7 +312,6 @@ enum EnumKeys
|
|||||||
KEY_MINUS,
|
KEY_MINUS,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
TRM_BASE,
|
TRM_BASE,
|
||||||
TRM_LH_DWN = TRM_BASE,
|
TRM_LH_DWN = TRM_BASE,
|
||||||
TRM_LH_UP,
|
TRM_LH_UP,
|
||||||
|
|||||||
Reference in New Issue
Block a user