forked from Akcelerometry_drgania_WMT/PI_mikrokontroler
Fix UploadManager CSV bottleneck and measure() race condition
This commit is contained in:
@@ -99,7 +99,7 @@ private:
|
||||
bool ispress = (GPIO.in & (1UL << BTN_OK)) == 0;
|
||||
if(ispress) {
|
||||
isExit = true;
|
||||
measurementActive_;
|
||||
measurementActive_ = false;
|
||||
display_.textStatus("Cancelling. Wait!");
|
||||
}
|
||||
return ispress;
|
||||
|
||||
Reference in New Issue
Block a user