|
@@ -563,12 +563,10 @@ void fsensor_st_block_chunk(int cnt)
|
|
|
{
|
|
|
if (!fsensor_enabled) return;
|
|
|
fsensor_st_cnt += cnt;
|
|
|
- if (abs(fsensor_st_cnt) >= fsensor_chunk_len)
|
|
|
- {
|
|
|
-
|
|
|
- if (PIN_GET(FSENSOR_INT_PIN)) {PIN_VAL(FSENSOR_INT_PIN, LOW);}
|
|
|
- else {PIN_VAL(FSENSOR_INT_PIN, HIGH);}
|
|
|
- }
|
|
|
+
|
|
|
+
|
|
|
+ if (PIN_GET(FSENSOR_INT_PIN)) {PIN_VAL(FSENSOR_INT_PIN, LOW);}
|
|
|
+ else {PIN_VAL(FSENSOR_INT_PIN, HIGH);}
|
|
|
}
|
|
|
#endif
|
|
|
|