v1.08 bugfix: make clearX actually clear X instead of just clearing number entry

This commit is contained in:
Jeff Wang
2019-10-22 20:17:30 -04:00
parent fdda8feafb
commit 47459f5253
2 changed files with 379 additions and 377 deletions

View File

@ -125,7 +125,7 @@ static void latch_on(void)
__xdata char EntryBuf[MAX_CHARS_PER_LINE + 1];
__xdata uint8_t ExpBuf[2];
__xdata const char VER_STR[32+1] = "STC RPN Calculator v1.07";
__xdata const char VER_STR[32+1] = "STC RPN Calculator v1.08";
enum {
@ -391,6 +391,7 @@ int main()
entering_done();
EnteringExp = ENTERING_DONE_CLEARED;
//do not increment entry_i from 0, until first non-0 entry
process_cmd(KEY_MAP[I_Key]);
} else if ( EnteringExp >= ENTERING_EXP){
//go back to digit entry
EnteringExp--;