Skip to content

Commit f3d6332

Browse files
Fix microphone callback
Co-authored-by: Robert Knight <[email protected]>
1 parent 94d5256 commit f3d6332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/board/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class Board {
178178
wrapped._microbit_hal_gesture_callback
179179
);
180180
this.microphone.initializeCallbacks(
181-
wrapped._microbit_hal_audio_speech_ready_callback
181+
wrapped._microbit_hal_level_detector_callback
182182
);
183183
return module;
184184
}

0 commit comments

Comments
 (0)