fix top line display after clearing after arith operation (anything which disables stack lift)
This commit is contained in:
parent
c42cdedc1b
commit
c2edc7871d
@ -162,11 +162,11 @@ static inline void finish_process_entry(void){
|
|||||||
exponent = -exponent;
|
exponent = -exponent;
|
||||||
}
|
}
|
||||||
EntryBuf[Entry_i] = '\0';
|
EntryBuf[Entry_i] = '\0';
|
||||||
|
push_decn(EntryBuf, exponent);
|
||||||
//reset to done
|
//reset to done
|
||||||
entering_done();
|
entering_done();
|
||||||
}
|
}
|
||||||
//process cmd
|
//process cmd
|
||||||
push_decn(EntryBuf, exponent);
|
|
||||||
process_cmd(KEY_MAP[I_Key]);
|
process_cmd(KEY_MAP[I_Key]);
|
||||||
EnteringExp = ENTERING_DONE;
|
EnteringExp = ENTERING_DONE;
|
||||||
}
|
}
|
||||||
@ -403,7 +403,7 @@ int main()
|
|||||||
|
|
||||||
LCD_GoTo(0,0);
|
LCD_GoTo(0,0);
|
||||||
//display y register on first line
|
//display y register on first line
|
||||||
if (is_entering_done()){
|
if (is_entering_done() || NoLift){
|
||||||
disp_exponent = decn_to_str(get_y());
|
disp_exponent = decn_to_str(get_y());
|
||||||
} else {
|
} else {
|
||||||
//display x on 1st line, entered number on 2nd line
|
//display x on 1st line, entered number on 2nd line
|
||||||
|
Loading…
Reference in New Issue
Block a user