diff options
author | Joel Bodenmann <joel@unormal.org> | 2013-03-04 23:50:21 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2013-03-04 23:50:21 +0100 |
commit | b91e61957304aadb5af050740b89bb400f2a3983 (patch) | |
tree | 42d946f77f5f71e9de380244f04efc27e00ff593 /src/gadc/gadc.c | |
parent | fa2f4b0f1931df80dd4b63a75dffe6a1b46ec2b5 (diff) | |
download | uGFX-b91e61957304aadb5af050740b89bb400f2a3983.tar.gz uGFX-b91e61957304aadb5af050740b89bb400f2a3983.tar.bz2 uGFX-b91e61957304aadb5af050740b89bb400f2a3983.zip |
__inline becomes inline because most compilers dont like the prefix
Diffstat (limited to 'src/gadc/gadc.c')
-rw-r--r-- | src/gadc/gadc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gadc/gadc.c b/src/gadc/gadc.c index 8a3cfb8d..40b901ae 100644 --- a/src/gadc/gadc.c +++ b/src/gadc/gadc.c @@ -99,7 +99,7 @@ static struct lsdev { static struct lsdev *curlsdev; /* Find the next conversion to activate */ -static __inline void FindNextConversionI(void) { +static inline void FindNextConversionI(void) { if (curlsdev) { /** * Now we have done a low speed conversion - start looking for the next conversion @@ -251,14 +251,14 @@ void GADC_ISR_ErrorI(ADCDriver *adcp, adcerror_t err) { FindNextConversionI(); } -static __inline void DoInit(void) { +static inline void DoInit(void) { if (!(gflags & GADC_GFLG_INITDONE)) { gflags |= GADC_GFLG_INITDONE; gadc_lld_init(); } } -static __inline void StartADC(bool_t onNoHS) { +static inline void StartADC(bool_t onNoHS) { chSysLock(); if (!(gflags & GADC_GFLG_ISACTIVE) || (onNoHS && !curlsdev)) FindNextConversionI(); |