release: fix impossible condition
This commit is contained in:
parent
f75fa4207e
commit
24bba6bde0
@ -214,7 +214,7 @@ static void prvTask3( void * pvParameters ) {
|
||||
xSemaphoreTake(xMutex, portMAX_DELAY); // wost time: right after T2 locks the mutex
|
||||
volatile uint16_t x = INPUT_SHORT_NEXT;
|
||||
int torun = 0;
|
||||
if ((int)y>=0) {
|
||||
if ((int)y!=0) {
|
||||
torun = CLAMP(x, 0, 5000);
|
||||
} else {
|
||||
torun = CLAMP(x, 1000, 4000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user