diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/SOURCES | 2 | ||||
| -rw-r--r-- | apps/plugins/metronome.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 2394d3d..392544d 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -29,7 +29,7 @@ jpeg.c #ifndef OLYMPUS_MROBE_500 -#if CONFIG_CODEC == SWCODEC +#if (CONFIG_CODEC == SWCODEC) || !defined(SIMULATOR) metronome.c #endif diff --git a/apps/plugins/metronome.c b/apps/plugins/metronome.c index bd99ce2..4b345df 100644 --- a/apps/plugins/metronome.c +++ b/apps/plugins/metronome.c @@ -113,7 +113,7 @@ int bpm_step_counter = 0; void callback(unsigned char** start, size_t* size){ (void)start; /* unused parameter, avoid warning */ - *size = NULL; /* end of data */ + *size = 0; /* end of data */ sound_active = false; rb->led(0); } |