diff --git a/extract_files.sh b/extract_files.sh old mode 100644 new mode 100755 diff --git a/liblights/lights.c b/liblights/lights.c index 8be0a2e..452af26 100644 --- a/liblights/lights.c +++ b/liblights/lights.c @@ -132,16 +132,16 @@ static void set_speaker_light_locked(struct light_device_t *dev, case LED_AMBER: write_int(AMBER_BLINK_FILE, 1); write_int(GREEN_LED_FILE, 0); - write_int(AMBER_BLINK_FILE, blinkMode); break; case LED_GREEN: write_int(GREEN_BLINK_FILE, 1); write_int(AMBER_LED_FILE, 0); - write_int(GREEN_BLINK_FILE, blinkMode); break; case LED_BLANK: write_int(AMBER_BLINK_FILE, 0); write_int(GREEN_BLINK_FILE, 0); + write_int(AMBER_LED_FILE, 0); + write_int(GREEN_LED_FILE, 0); break; default: LOGE("set_led_state colorRGB=%08X, unknown color\n", colorRGB); @@ -149,6 +149,8 @@ static void set_speaker_light_locked(struct light_device_t *dev, } break; case LIGHT_FLASH_NONE: + write_int(AMBER_BLINK_FILE, 0); + write_int(GREEN_BLINK_FILE, 0); switch (color) { case LED_AMBER: write_int(AMBER_LED_FILE, 1); @@ -177,6 +179,9 @@ static void set_speaker_light_locked_dual(struct light_device_t *dev, unsigned int bcolor = LED_BLANK; unsigned int blinkMode = BLINK_MODE_LONG; + // NOTE: (tgascoigne) I couldn't get dual leds to work, does the hox support this? :/ + // Currently just blinks the color that's already on + if ((bcolorRGB >> 8) & 0xFF) bcolor = LED_GREEN; if ((bcolorRGB >> 16) & 0xFF) bcolor = LED_AMBER; diff --git a/proprietary-files.txt b/proprietary-files.txt index a53fba5..339ba68 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -72,6 +72,11 @@ bin/mknod etc/Flash_Loader.conf etc/QUO_6260.fls.clean +# FM Radio +lib/libfmchr.so +lib/libfmradio.so +lib/libfmstack.so + # graphics lib/libcgdrv.so lib/libnvos.so diff --git a/setup-makefiles.sh b/setup-makefiles.sh old mode 100644 new mode 100755