1
0
Fork 0
forked from len0rd/rockbox

Fix yellow from 9ccae042

Change-Id: Iad4eaab8b766d1d0aad051971fd49a64126ca4be
This commit is contained in:
Aidan MacDonald 2021-06-16 21:22:19 +01:00
parent 9ccae0421a
commit 7aade87863

View file

@ -1154,6 +1154,8 @@ static void doExponent(double* operandOne, int* powerOne,
if (*operandOne < 0)
{
#if MEMORYSIZE < 8
(void)negativeBuffer;
(void)lastDigit;
calStatus=cal_error;
return;
#else
@ -1903,9 +1905,6 @@ static void sciButtonsProcess(void){
case sci_xy:
if(!operInputted) {twoOperands(); operInputted = true;}
oper = '^';
#ifdef CALCULATOR_OPERATORS
case_cycle_operators: /* F2 shortkey entrance */
#endif
if (calStatus == cal_typing ||
calStatus == cal_dotted)
calStatus = cal_normal;