Commit e22118e4 authored by João Lino's avatar João Lino

cancel in menu to go back

cancel in menu to go back
parent aa0e5afa
......@@ -1436,7 +1436,11 @@ void runMenuProcessor( MenuData *data ) {
data->_repaint = repaint; // Request repaint
repaint = displayGenericMenu( &lcd, data ); // Display menu
if ( checkForEncoderSwitchPush( false ) ) { // Read selection
if ( checkForEncoderSwitchPush( true ) ) { // Read selection
if( cancel ) {
resetMenu( true );
return;
}
data->_selection = data->_position;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment