summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/vboot_audio.c')
-rw-r--r--firmware/lib/vboot_audio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/firmware/lib/vboot_audio.c b/firmware/lib/vboot_audio.c
index 8f96b68e..5414f325 100644
--- a/firmware/lib/vboot_audio.c
+++ b/firmware/lib/vboot_audio.c
@@ -221,7 +221,8 @@ VbAudioContext *VbAudioOpen(VbCommonParams *cparams)
VbExSleepMs(10);
b = VbExGetTimer();
ticks_per_msec = (b - a) / 10ULL ;
- VBDEBUG(("VbAudioOpen() - ticks_per_msec is %llu\n", ticks_per_msec));
+ VBDEBUG(("VbAudioOpen() - ticks_per_msec is %" PRIu64 "\n",
+ ticks_per_msec));
/* Initialize */
Memset(audio, 0, sizeof(*audio));
@@ -260,10 +261,6 @@ int VbAudioLooping(VbAudioContext *audio)
uint16_t msec = 0;
int looping = 1;
-#if defined(CONFIG_SANDBOX)
- return 0;
-#endif
-
now = VbExGetTimer();
while (audio->next_note < audio->note_count &&
now >= audio->play_until) {