diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 17:52:31 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-08-28 17:52:31 +0000 |
commit | e09ebc421353c8717d49080443a531d17557a548 (patch) | |
tree | 584a0585eabd11b11da7eb0a67e01b9ab3b8cbf2 /firmware/drivers/lcd-bitmap-common.c | |
parent | 5628096e51f05f3b1b935dadf934f91a4928d018 (diff) | |
download | rockbox-e09ebc421353c8717d49080443a531d17557a548.tar.gz rockbox-e09ebc421353c8717d49080443a531d17557a548.zip |
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
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
0 files changed, 0 insertions, 0 deletions