mirror of
https://github.com/rvtr/ctr_mcu.git
synced 2025-06-18 16:45:33 -04:00
3.35 ファーム更新リブート時の AMO-HV 操作が良くなかった。レジスタ保持なので、放置でよい。放置がよい。
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@594 013db118-44a6-b54f-8bf7-843cb86687b1
This commit is contained in:
parent
47e609628c
commit
9f3f007216
Binary file not shown.
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#define MCU_VER_MAJOR 0x02
|
||||
#define MCU_VER_MINOR 0x33
|
||||
#define MCU_VER_MINOR 0x35
|
||||
|
||||
|
||||
// ビルドスイッチ
|
||||
|
@ -229,20 +229,20 @@ void tsk_sys( )
|
||||
// PMK21 = 0; // wifi 使わない
|
||||
PMK6 = 0; // pm_irq
|
||||
|
||||
// リブート時、ステータスを何となく更新、辻褄合わせ
|
||||
// リブート時、ステータスを辻褄合わせ
|
||||
if( system_status.reboot )
|
||||
{
|
||||
u8 bl_status_temp;
|
||||
|
||||
// LCD 電源ステータス
|
||||
// LCD 電源onだったか? ステータスの更新をする。
|
||||
/// ファーム更新時、必ず液晶offかも?
|
||||
if( read_pmic( PM_REG_ADRS_VDD_LCD ) != 0 )
|
||||
{
|
||||
vreg_ctr[ VREG_C_STATUS ] |= REG_BIT_LCD_POW;
|
||||
LCD_AMOL_HV_CTRL = 1;
|
||||
// LCD_AMOL_HV_CTRL = 1; 不要。ファーム更新時、ピン状態は保持のため。
|
||||
}
|
||||
|
||||
// バックライトが点いていたなら点ける
|
||||
// バックライトが点いていた? ステータスの更新をする。
|
||||
bl_status_temp = read_pmic( PM_REG_ADRS_BL );
|
||||
vreg_ctr[ VREG_C_STATUS ] |= (( bl_status_temp & 0x03 ) << 5 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user