summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/system-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/system-as3525.c')
-rw-r--r--firmware/target/arm/as3525/system-as3525.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/system-as3525.c b/firmware/target/arm/as3525/system-as3525.c
index 240cb63b7c..a4208c709e 100644
--- a/firmware/target/arm/as3525/system-as3525.c
+++ b/firmware/target/arm/as3525/system-as3525.c
@@ -255,9 +255,9 @@ int system_memory_guard(int newmode)
255void power_off(void) 255void power_off(void)
256{ 256{
257 int system; 257 int system;
258 system = as3525_codec_read(0x20); 258 system = ascodec_read(0x20);
259 system &= ~1; /* clear bit 0 of system register */ 259 system &= ~1; /* clear bit 0 of system register */
260 as3525_codec_write(0x20, system); 260 ascodec_write(0x20, system);
261 261
262 /* TODO : turn off peripherals properly ? */ 262 /* TODO : turn off peripherals properly ? */
263 263