Really fix low-bat detection in the iAudio bootloader. * Improve naming of iriver and iaudio bootloader files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16649 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
17bc340f1f
commit
80ded2ad7c
3 changed files with 6 additions and 5 deletions
|
@ -18,13 +18,13 @@ main-pp.c
|
|||
#elif defined(ELIO_TPJ1022)
|
||||
tpj1022.c
|
||||
#elif defined(IAUDIO_X5) || defined(IAUDIO_M5) || defined(IAUDIO_M3)
|
||||
iaudio_x5.c
|
||||
iaudio_coldfire.c
|
||||
#elif defined(IRIVER_H100_SERIES)
|
||||
iriver_h1x0.c
|
||||
#elif defined(IRIVER_H300_SERIES)
|
||||
iriver_h300.c
|
||||
#elif defined(MROBE_500)
|
||||
mrobe500.c
|
||||
#elif defined(CPU_TCC77X) || defined(CPU_TCC780X)
|
||||
telechips.c
|
||||
#else
|
||||
main.c
|
||||
#endif
|
||||
|
|
|
@ -113,7 +113,7 @@ void check_battery(void)
|
|||
|
||||
printf("Batt: %d.%02dV", batt_int, batt_frac);
|
||||
|
||||
if (battery_voltage <= 350)
|
||||
if (battery_voltage <= 3500)
|
||||
{
|
||||
printf("WARNING! BATTERY LOW!!");
|
||||
sleep(HZ*2);
|
||||
|
@ -135,6 +135,7 @@ void main(void)
|
|||
(void)rec_button;
|
||||
(void)hold_status;
|
||||
(void)data;
|
||||
|
||||
power_init();
|
||||
|
||||
system_init();
|
Loading…
Reference in a new issue