featherbear / zifon-yt1000-wifi-acu

WiFi control of the Zifon YT-1000 Pan-Tilt Head
https://featherbear.cc/blog/post/zifon-yt-1000-wifi-acu/
10 stars 3 forks source link

TODO: Check if pauseSerial() still gets called after duplicate STOP byte check #1

Open featherbear opened 3 years ago

featherbear commented 3 years ago

https://github.com/featherbear/zifon-yt1000-wifi-acu/blob/a9638860f005e8d9171f913583504e6e68b6b921/acu/http/src/PT.svelte#L25-L29

Maybe send 2x STOP packets instead of 1, so the second stop packet causes https://github.com/featherbear/zifon-yt1000-wifi-acu/blob/a9638860f005e8d9171f913583504e6e68b6b921/acu/wifi-acu/src/arduino-ptz/handler.cpp#L35 to trigger

featherbear commented 3 years ago

but tbh getSend() gets called a bunch of times and it will stop anyway