|
|
@ -77,7 +77,7 @@ uint16_t DwinScreen::alloc_from(const char* whichrammanager, uint16_t size) { |
|
|
|
} |
|
|
|
|
|
|
|
void DwinScreen::clearrxcache() { |
|
|
|
CriticalContext cc; |
|
|
|
// CriticalContext cc;
|
|
|
|
txcontext.receipt_ready_flag = false; |
|
|
|
txcontext.receiptlen = 0; |
|
|
|
} |
|
|
@ -98,7 +98,10 @@ bool DwinScreen::sendcmdblock(int overtime) { |
|
|
|
if (txcontext.receipt_ready_flag) { |
|
|
|
return true; |
|
|
|
} else { |
|
|
|
zos_delay(1); |
|
|
|
// zos_delay(1);
|
|
|
|
// HAL_Delay(1);
|
|
|
|
osDelay(1); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
return false; |
|
|
|