mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -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-title" content="Roomba Rover" />
|
||||
<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">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
@@ -141,6 +141,14 @@ export default function DriveDockAction({
|
||||
useEffect(() => {
|
||||
if (!manualAssistActive) return;
|
||||
if (!charging) return;
|
||||
actions.sendSong(
|
||||
[
|
||||
{ note: 79, duration: 10 },
|
||||
{ note: 84, duration: 10 },
|
||||
{ note: 88, duration: 14 },
|
||||
],
|
||||
{ slot: 1 },
|
||||
);
|
||||
actions.setManualDockAssistActive(false);
|
||||
}, [actions, charging, manualAssistActive]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user