[X9D] SD support

This commit is contained in:
bsongis
2013-01-07 18:35:24 +00:00
parent 8123713372
commit 5cb5ee0111
60 changed files with 939 additions and 26493 deletions
+4
View File
@@ -40,10 +40,14 @@ void soft_power_off()
uint32_t check_soft_power()
{
#if defined(SIMU)
return e_power_on;
#else
if (GPIO_ReadInputDataBit(GPIOPWR, PIN_PWR_STATUS) == Bit_RESET)
return e_power_on;
else
return e_power_off;
#endif
}
void pwrInit()