FreeCalypso > hg > tcs211-c139
diff chipsetsw/services/lls/lls_api.c @ 46:f297861532cf
fix for the keypad backlight flicker (LT_Status() for deep sleep)
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 12 Nov 2015 05:10:51 +0000 |
parents | 509db1a7b7b8 |
children |
line wrap: on
line diff
--- a/chipsetsw/services/lls/lls_api.c Thu Nov 12 02:38:40 2015 +0000 +++ b/chipsetsw/services/lls/lls_api.c Thu Nov 12 05:10:51 2015 +0000 @@ -31,6 +31,9 @@ /** External declaration */ extern T_LLS_ENV_CTRL_BLK* lls_env_ctrl_blk; +/* FreeCalypso hack, see LT_Status() in drivers/drv_app/buzzer/buzzer.c */ +extern unsigned char iota_ledb_status; + /** * @name Functions implementation @@ -62,10 +65,14 @@ if (ret != RV_OK) { - LLS_SEND_TRACE("LLS: Equipment is unknow", RV_TRACE_LEVEL_ERROR); + LLS_SEND_TRACE("LLS: Equipment is unknown", RV_TRACE_LEVEL_ERROR); return ret; } + /* FreeCalypso hack */ + if (equipment_sort == LLS_BACKLIGHT) + iota_ledb_status = 1; + ret = lls_manage_equipment(equipment_index, SWITCH_ON); return ret; @@ -99,12 +106,16 @@ if (ret != RV_OK) { - LLS_SEND_TRACE("LLS: Equipment is unknow", RV_TRACE_LEVEL_ERROR); + LLS_SEND_TRACE("LLS: Equipment is unknown", RV_TRACE_LEVEL_ERROR); return ret; } ret = lls_manage_equipment(equipment_index, SWITCH_OFF); - + + /* FreeCalypso hack */ + if (equipment_sort == LLS_BACKLIGHT) + iota_ledb_status = 0; + return ret; #else