Fix according to review
This commit is contained in:
parent
51ac5111c5
commit
d4812f0118
@ -21,7 +21,7 @@ typedef enum
|
|||||||
ERROR_TYPE_EULA_FIRST_BOOT, ///< Use prohibited.
|
ERROR_TYPE_EULA_FIRST_BOOT, ///< Use prohibited.
|
||||||
ERROR_TYPE_EULA_DRAW_ONLY, ///< Use prohibited.
|
ERROR_TYPE_EULA_DRAW_ONLY, ///< Use prohibited.
|
||||||
ERROR_TYPE_AGREE, ///< Use prohibited.
|
ERROR_TYPE_AGREE, ///< Use prohibited.
|
||||||
ERROR_CODE_LANGUAGE = ERROR_CODE | ERROR_LANGUAGE_FLAG , ///< Displays a network error message in a specified language.
|
ERROR_CODE_LANGUAGE = ERROR_CODE | ERROR_LANGUAGE_FLAG, ///< Displays a network error message in a specified language.
|
||||||
ERROR_TEXT_LANGUAGE = ERROR_TEXT | ERROR_LANGUAGE_FLAG, ///< Displays text passed to this applet in a specified language.
|
ERROR_TEXT_LANGUAGE = ERROR_TEXT | ERROR_LANGUAGE_FLAG, ///< Displays text passed to this applet in a specified language.
|
||||||
EULA_LANGUAGE = EULA | ERROR_LANGUAGE_FLAG, ///< Displays EULA in a specified language.
|
EULA_LANGUAGE = EULA | ERROR_LANGUAGE_FLAG, ///< Displays EULA in a specified language.
|
||||||
ERROR_TEXT_WORD_WRAP = ERROR_TEXT | ERROR_WORD_WRAP_FLAG, ///< Displays the custom error message passed to this applet with automatic line wrapping
|
ERROR_TEXT_WORD_WRAP = ERROR_TEXT | ERROR_WORD_WRAP_FLAG, ///< Displays the custom error message passed to this applet with automatic line wrapping
|
||||||
@ -29,7 +29,7 @@ typedef enum
|
|||||||
}ErrorType;
|
}ErrorType;
|
||||||
|
|
||||||
|
|
||||||
///< Flags for the Upper Screen.Does nothing even if specified.
|
///< Flags for the Upper Screen.Does nothing even if specified.
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
@ -77,25 +77,15 @@ typedef enum
|
|||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
ErrorType errorType;
|
ErrorType errorType;
|
||||||
|
|
||||||
int errorCode;
|
int errorCode;
|
||||||
|
|
||||||
screen_flag upperScreenFlag;
|
screen_flag upperScreenFlag;
|
||||||
|
|
||||||
err_lang useLanguage;
|
err_lang useLanguage;
|
||||||
|
|
||||||
u16 Text[1900];
|
u16 Text[1900];
|
||||||
|
|
||||||
bool homeButton;
|
bool homeButton;
|
||||||
|
|
||||||
bool softwareReset;
|
bool softwareReset;
|
||||||
|
|
||||||
bool appJump;
|
bool appJump;
|
||||||
|
|
||||||
ReturnCode returnCode;
|
ReturnCode returnCode;
|
||||||
|
|
||||||
u16 eulaVersion;
|
u16 eulaVersion;
|
||||||
|
|
||||||
}ErrConf;
|
}ErrConf;
|
||||||
/**
|
/**
|
||||||
* @brief Init the error applet.
|
* @brief Init the error applet.
|
||||||
|
Loading…
Reference in New Issue
Block a user