[X9D] Soft switch not working. I remove the code for the moment.

This commit is contained in:
bsongis
2013-01-06 11:34:48 +00:00
parent 356906c1eb
commit ee7b9f2001
3 changed files with 9 additions and 11 deletions
+4 -1
View File
@@ -41,9 +41,12 @@ void soft_power_off()
uint32_t check_soft_power()
{
if (GPIO_ReadInputDataBit(GPIOPWR,PIN_PWR_STATUS) == Bit_RESET)
#if 0
// TODO doesn't work :(
if (GPIO_ReadInputDataBit(GPIOPWR, PIN_PWR_STATUS) == Bit_RESET)
return e_power_off;
else
#endif
return e_power_on;
}