diff options
Diffstat (limited to 'apps/beep.c')
-rw-r--r-- | apps/beep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/beep.c b/apps/beep.c index d3345afdf9..3b02e5d8a3 100644 --- a/apps/beep.c +++ b/apps/beep.c | |||
@@ -46,7 +46,7 @@ static int16_t beep_buf[BEEP_BUF_COUNT*2] IBSS_ATTR __attribute__((aligned(4))); | |||
46 | /* Callback to generate the beep frames - also don't want inlining of | 46 | /* Callback to generate the beep frames - also don't want inlining of |
47 | call below in beep_play */ | 47 | call below in beep_play */ |
48 | static void __attribute__((noinline)) | 48 | static void __attribute__((noinline)) |
49 | beep_get_more(unsigned char **start, size_t *size) | 49 | beep_get_more(const void **start, size_t *size) |
50 | { | 50 | { |
51 | int count = beep_count; | 51 | int count = beep_count; |
52 | 52 | ||
@@ -87,7 +87,7 @@ void beep_play(unsigned int frequency, unsigned int duration, | |||
87 | #endif | 87 | #endif |
88 | 88 | ||
89 | /* If it fits - avoid cb overhead */ | 89 | /* If it fits - avoid cb overhead */ |
90 | unsigned char *start; | 90 | const void *start; |
91 | size_t size; | 91 | size_t size; |
92 | 92 | ||
93 | /* Generate first frame here */ | 93 | /* Generate first frame here */ |