Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
olikraus committed Sep 1, 2024
1 parent 9cc8dbc commit 5a1779d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,11 @@ uint8_t muif_decimal(mui_t *ui, uint8_t msg)

switch(msg)
{
case MUIF_MSG_DRAW:
if ( pre_decimal == 100 )
decimal = 0;
return_value = mui_u8g2_u8_min_max_wm_mud_pi(ui, msg); // let MUI modify the decimal value
break;
case MUIF_MSG_EVENT_NEXT: // for mud mode
if ( ui->is_mud == 0 ) {
return_value = mui_u8g2_u8_min_max_wm_mud_pi(ui, msg); // none mud state
Expand Down

0 comments on commit 5a1779d

Please sign in to comment.