Reduced the current thresholds for obstacle detection during valve opening and closing from 500mA to 200mA. This makes the obstacle detection more sensitive. refactor: Simplify valve_work_handler logic Refactored the function to directly call when an obstacle is detected or the valve reaches its end position. This removes redundant code and improves the clarity of the control flow. Signed-off-by: Eduard Iten <eduard@iten.pro> |
||
|---|---|---|
| .. | ||
| fwu.h | ||
| modbus_server.h | ||
| valve.h | ||