This commit is contained in:
wu58430 2023-12-04 20:30:38 +08:00
parent 58aa8f0c44
commit 7992e7aea3

View file

@ -1664,8 +1664,12 @@ if( gIsInSubMenu && edit_index >= 0){
if (bKeyPressed && edit_index < 4 ) { if (bKeyPressed && edit_index < 4 ) {
char c = edit[edit_index] + Direction; char c = edit[edit_index] + Direction;
if(c<'0')c='F'; if(c<'0')c='F';
else if(c>'9'&&c<'A')c='A';
else if(c>'F')c='0'; else if(c>'F')c='0';
else if(c>'9'&&c<'A'){
if(Direction==1)c='A';
else c='9';
}
edit[edit_index]=c; edit[edit_index]=c;
gRequestDisplayScreen = DISPLAY_MENU; gRequestDisplayScreen = DISPLAY_MENU;
} }