mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
tune when successfully docked
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Roomba Rover" />
|
||||||
<title>Roomba Rover</title>
|
<title>Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-Fw10ZP-H.js"></script>
|
<script type="module" crossorigin src="/assets/index-vnQEm7kz.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-CkqCBh_q.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -141,6 +141,14 @@ export default function DriveDockAction({
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!manualAssistActive) return;
|
if (!manualAssistActive) return;
|
||||||
if (!charging) return;
|
if (!charging) return;
|
||||||
|
actions.sendSong(
|
||||||
|
[
|
||||||
|
{ note: 79, duration: 10 },
|
||||||
|
{ note: 84, duration: 10 },
|
||||||
|
{ note: 88, duration: 14 },
|
||||||
|
],
|
||||||
|
{ slot: 1 },
|
||||||
|
);
|
||||||
actions.setManualDockAssistActive(false);
|
actions.setManualDockAssistActive(false);
|
||||||
}, [actions, charging, manualAssistActive]);
|
}, [actions, charging, manualAssistActive]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user