From 0e06910a85040b50e88639add66d200a783afebb Mon Sep 17 00:00:00 2001 From: fujita_ryohei Date: Tue, 15 Dec 2009 11:35:21 +0000 Subject: [PATCH] =?UTF-8?q?LCD=20on=E3=81=A8off=E3=81=8C=E5=90=8C=E6=99=82?= =?UTF-8?q?=E3=81=AB=E6=9D=A5=E3=81=9F=E9=9A=9B=E3=80=81=E4=BB=95=E6=A7=98?= =?UTF-8?q?=E3=81=A8=E7=95=B0=E3=81=AA=E3=82=8Aon=E3=81=8C=E5=84=AA?= =?UTF-8?q?=E5=85=88=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6=E3=81=84=E3=81=AA?= =?UTF-8?q?=E3=81=8B=E3=81=A3=E3=81=9F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_mcu@63 013db118-44a6-b54f-8bf7-843cb86687b1 --- trunk/task_misc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/trunk/task_misc.c b/trunk/task_misc.c index bf73e08..a8e1857 100644 --- a/trunk/task_misc.c +++ b/trunk/task_misc.c @@ -159,6 +159,10 @@ task_status_immed do_command( ) { PM_LCD_on(); } + else if(( vreg_ctr[VREG_C_COMMAND2] & REG_BIT_CMD_LCD_OFF ) != 0 ) + { + PM_LCD_off(); + } // バックライトの個別on/off if(( vreg_ctr[VREG_C_COMMAND2] & REG_BITS_CMD_BL ) != 0 ) @@ -166,10 +170,6 @@ task_status_immed do_command( ) PM_BL_set( vreg_ctr[VREG_C_COMMAND2] & REG_BITS_CMD_BL ); } - if(( vreg_ctr[VREG_C_COMMAND2] & REG_BIT_CMD_LCD_OFF ) != 0 ) - { - PM_LCD_off(); - } vreg_ctr[VREG_C_COMMAND0] = 0; vreg_ctr[VREG_C_COMMAND2] = 0; return ( ERR_FINISED );