From e09ebc421353c8717d49080443a531d17557a548 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Sat, 28 Aug 2010 17:52:31 +0000 Subject: pitch_detector: cleanup - cosmetics: remove trailing white space - mark all functions and variables as static - merge struct definition and declaration when possible - rename tuner_settings -> settings (because it's shorter) - remove unused enums - don't give pointer to settings struct as argument since there is only one struct, same for the settings filename - fix error cases in settings load: reset settings when loading failed close file when it hasn't the right size - inline small load/save functions only used once - remove unused print_char_xy - inline print_str and print_int_xy, and use lcd_putsf (added to the plugin API) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27918 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 17c36fa8b1..2bcd93e3ad 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -894,6 +894,8 @@ struct plugin_api { /* new stuff at the end, sort into place next time the API gets incompatible */ + + void (*lcd_putsf)(int x, int y, const unsigned char *fmt, ...); }; /* plugin header */ -- cgit v1.2.3