2016-07-07 18:26:59 +00:00
|
|
|
#ifndef UTIL_H
|
|
|
|
#define UTIL_H
|
|
|
|
|
|
|
|
extern const char* FW_VERSION_STR_P();
|
|
|
|
|
2016-07-07 20:01:51 +00:00
|
|
|
// Definition of a firmware flavor numerical values.
|
|
|
|
enum FirmwareRevisionFlavorType
|
|
|
|
{
|
|
|
|
FIRMWARE_REVISION_DEV = 0,
|
|
|
|
FIRMWARE_REVISION_ALPHA = 1,
|
|
|
|
FIRMWARE_REVISION_BETA = 2,
|
|
|
|
FIRMWARE_REVISION_RC,
|
|
|
|
FIRMWARE_REVISION_RC2,
|
|
|
|
FIRMWARE_REVISION_RC3,
|
|
|
|
FIRMWARE_REVISION_RC4,
|
|
|
|
FIRMWARE_REVISION_RC5,
|
|
|
|
FIRMWARE_REVISION_RELEASED = 127
|
|
|
|
};
|
|
|
|
|
2016-07-07 18:26:59 +00:00
|
|
|
extern bool show_upgrade_dialog_if_version_newer(const char *version_string);
|
|
|
|
|
2016-07-07 20:01:51 +00:00
|
|
|
extern void update_current_firmware_version_to_eeprom();
|
|
|
|
|
2016-07-07 18:26:59 +00:00
|
|
|
#endif /* UTIL_H */
|