diff options
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/SOURCES | 6 | ||||
-rw-r--r-- | bootloader/iaudio_coldfire.c (renamed from bootloader/iaudio_x5.c) | 5 | ||||
-rw-r--r-- | bootloader/iriver_h1x0.c (renamed from bootloader/main.c) | 0 |
3 files changed, 6 insertions, 5 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES index ea83fa6277..9e961eeb29 100644 --- a/bootloader/SOURCES +++ b/bootloader/SOURCES @@ -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 diff --git a/bootloader/iaudio_x5.c b/bootloader/iaudio_coldfire.c index 3cfbb7aec7..a80a202d41 100644 --- a/bootloader/iaudio_x5.c +++ b/bootloader/iaudio_coldfire.c @@ -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(); @@ -157,7 +158,7 @@ void main(void) printf("Version %s", version); check_battery(); - + rc = ata_init(); if(rc) { diff --git a/bootloader/main.c b/bootloader/iriver_h1x0.c index 6b3527be7a..6b3527be7a 100644 --- a/bootloader/main.c +++ b/bootloader/iriver_h1x0.c |