FreeCalypso > hg > freecalypso-sw
changeset 839:5ab66dadefdd
gdi: power.c compiles
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 25 Apr 2015 19:29:38 +0000 |
parents | a963ff26848a |
children | 60a08fe672d8 |
files | gsm-fw/g23m-glue/gdi/Makefile gsm-fw/g23m-glue/gdi/power.c |
diffstat | 2 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/g23m-glue/gdi/Makefile Sat Apr 25 19:27:04 2015 +0000 +++ b/gsm-fw/g23m-glue/gdi/Makefile Sat Apr 25 19:29:38 2015 +0000 @@ -6,7 +6,7 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= audio.o ffs_coat.o +OBJS= audio.o ffs_coat.o power.o all: libgdi.a
--- a/gsm-fw/g23m-glue/gdi/power.c Sat Apr 25 19:27:04 2015 +0000 +++ b/gsm-fw/g23m-glue/gdi/power.c Sat Apr 25 19:29:38 2015 +0000 @@ -31,6 +31,10 @@ #define DRV_PWR_C #endif +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + /*==== INCLUDES ===================================================*/ #if defined (NEW_FRAME) @@ -347,13 +351,10 @@ #if !defined (WIN32) /* power-off the board / HW */ - AI_Power(0); + ABB_Power_Off(); //#endif /* _TARGET_ */ #endif /* _TMS470 */ return 1; } - - -