mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
gahwah
This commit is contained in:
@@ -443,6 +443,10 @@ export default function KeyboardInputManager() {
|
||||
latestResetAllRef.current();
|
||||
}, [state.roverId]);
|
||||
|
||||
useEffect(() => {
|
||||
hornActiveRef.current = Boolean(state.horn?.active);
|
||||
}, [state.horn?.active]);
|
||||
|
||||
useEffect(
|
||||
() => () => {
|
||||
stopServoLoop();
|
||||
|
||||
Reference in New Issue
Block a user