From acfed3831746e8b3f0f7b7e3f9b2fa1af6509a4f Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sun, 5 Jul 2020 19:45:36 +0300 Subject: [PATCH] Exit from wait trigger, not read data in this case after (fix slowdown UI at this case) --- sa_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sa_core.c b/sa_core.c index 6f6c34c..a65d555 100644 --- a/sa_core.c +++ b/sa_core.c @@ -1551,7 +1551,7 @@ float perform(bool break_on_operation, int i, uint32_t f, int tracking) // M do{ // wait for trigger to happen pureRSSI = SI4432_Read_Byte(SI4432_REG_RSSI)<<4; 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) // T_LEVEL_UNDEF mode bit drop after 2 shifts