Update button menu documentation as there are 1/2/3 options
This commit is contained in:
parent
9d959f5d12
commit
0f8d84082a
|
|
@ -144,6 +144,24 @@ static uint8_t ReportErrorHookMonitor(uint8_t ei) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update '>' render only
|
// Update '>' render only
|
||||||
|
//! @brief Button menu
|
||||||
|
//!
|
||||||
|
//! @code{.unparsed}
|
||||||
|
//! |01234567890123456789|
|
||||||
|
//! | |
|
||||||
|
//! | |
|
||||||
|
//! | |
|
||||||
|
//! |>(left) |
|
||||||
|
//! ----------------------
|
||||||
|
//! Three choices
|
||||||
|
//! |>(left)>(mid)>(righ)|
|
||||||
|
//! ----------------------
|
||||||
|
//! Two choises
|
||||||
|
//! ----------------------
|
||||||
|
//! |>(left) >(mid) |
|
||||||
|
//! ----------------------
|
||||||
|
//! @endcode
|
||||||
|
//
|
||||||
lcd_set_cursor(0, 3);
|
lcd_set_cursor(0, 3);
|
||||||
lcd_print(current_selection == LCD_LEFT_BUTTON_CHOICE ? '>': ' ');
|
lcd_print(current_selection == LCD_LEFT_BUTTON_CHOICE ? '>': ' ');
|
||||||
if (two_choices == false)
|
if (two_choices == false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue