Exit from wait trigger, not read data in this case after (fix slowdown UI at this case)

pull/4/head
DiSlord 6 years ago
parent 81a07e5252
commit acfed38317

@ -1551,7 +1551,7 @@ float perform(bool break_on_operation, int i, uint32_t f, int tracking) // M
do{ // wait for trigger to happen do{ // wait for trigger to happen
pureRSSI = SI4432_Read_Byte(SI4432_REG_RSSI)<<4; pureRSSI = SI4432_Read_Byte(SI4432_REG_RSSI)<<4;
if (break_on_operation && operation_requested) // allow aborting a wait for trigger if (break_on_operation && operation_requested) // allow aborting a wait for trigger
break; // abort return 0; // abort
// Store data level bitfield (remember only last 2 states) // Store data level bitfield (remember only last 2 states)
// T_LEVEL_UNDEF mode bit drop after 2 shifts // T_LEVEL_UNDEF mode bit drop after 2 shifts

Loading…
Cancel
Save

Powered by TurnKey Linux.