Add comments
This commit is contained in:
parent
ec6a20971e
commit
773c6997ef
|
|
@ -2096,6 +2096,9 @@ static void lcd_preheat_menu()
|
||||||
//! @code{.unparsed}
|
//! @code{.unparsed}
|
||||||
//! | Voltages | MSG_MENU_VOLTAGES
|
//! | Voltages | MSG_MENU_VOLTAGES
|
||||||
//! @endcode
|
//! @endcode
|
||||||
|
//!
|
||||||
|
//!
|
||||||
|
//! | Experimental | c=18 r=1
|
||||||
//!
|
//!
|
||||||
//!
|
//!
|
||||||
//! If DEBUG_BUILD is defined
|
//! If DEBUG_BUILD is defined
|
||||||
|
|
@ -2108,12 +2111,12 @@ static void lcd_preheat_menu()
|
||||||
static void lcd_support_menu()
|
static void lcd_support_menu()
|
||||||
{
|
{
|
||||||
typedef struct
|
typedef struct
|
||||||
{ // 22bytes total
|
{ // 23bytes total
|
||||||
int8_t status; // 1byte
|
int8_t status; // 1byte
|
||||||
bool is_flash_air; // 1byte
|
bool is_flash_air; // 1byte
|
||||||
uint8_t ip[4]; // 4bytes
|
uint8_t ip[4]; // 4bytes
|
||||||
char ip_str[3*4+3+1]; // 16bytes
|
char ip_str[3*4+3+1]; // 16bytes
|
||||||
uint8_t experimental_menu_visibility;
|
uint8_t experimental_menu_visibility; //1byte
|
||||||
} _menu_data_t;
|
} _menu_data_t;
|
||||||
static_assert(sizeof(menu_data)>= sizeof(_menu_data_t),"_menu_data_t doesn't fit into menu_data");
|
static_assert(sizeof(menu_data)>= sizeof(_menu_data_t),"_menu_data_t doesn't fit into menu_data");
|
||||||
_menu_data_t* _md = (_menu_data_t*)&(menu_data[0]);
|
_menu_data_t* _md = (_menu_data_t*)&(menu_data[0]);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue