changeset 279:1badec9097de

AT@RST: use dar_reset_system() instead of relying on a NULL pointer call in Power_OFF_Button()
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 07 Aug 2017 04:22:47 +0000
parents ca343ccbca81
children 081a2b303178
files src/aci2/aci/ati_omcompat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/aci2/aci/ati_omcompat.c	Mon Aug 07 04:20:45 2017 +0000
+++ b/src/aci2/aci/ati_omcompat.c	Mon Aug 07 04:22:47 2017 +0000
@@ -63,7 +63,7 @@
 
 #include "audio/audio_api.h"
 #include "abb.h"
-#include "../drivers/drv_app/power/power.h"
+#include "dar/dar_api.h"
 
 #ifdef GPRS
 #include "p_mph.h"
@@ -144,7 +144,7 @@
 {
 	TRACE_FUNCTION("atAtRST");
 
-	Power_OFF_Button();
+	dar_reset_system();
 
 	return (ATI_CMPL);
 }