mirror of
https://github.com/pvvx/RTL00_WEB.git
synced 2026-03-21 10:04:53 +00:00
update
This commit is contained in:
parent
b8c699eb1c
commit
3a865fb51d
40 changed files with 293 additions and 463 deletions
|
|
@ -203,28 +203,16 @@ void sys_reset(void)
|
|||
(1 << 2)); // SYSRESETREQ
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SDR_EN
|
||||
u8 sys_is_sdram_power_on(void)
|
||||
{
|
||||
#ifdef CONFIG_SDR_EN
|
||||
// u8 ison = 0;
|
||||
|
||||
//#if defined ( __ICCARM__ )
|
||||
return IsSdrPowerOn();
|
||||
//#endif
|
||||
|
||||
// return ison;
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
void sys_sdram_off(void)
|
||||
{
|
||||
#ifdef CONFIG_SDR_EN
|
||||
//#if defined ( __ICCARM__ )
|
||||
if (IsSdrPowerOn()) {
|
||||
SdrPowerOff();
|
||||
}
|
||||
//#endif
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue