aboutsummaryrefslogtreecommitdiffstats
path: root/src/gadc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gadc')
-rw-r--r--src/gadc/gadc.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gadc/gadc.c b/src/gadc/gadc.c
index bfa655df..25d5f9bd 100644
--- a/src/gadc/gadc.c
+++ b/src/gadc/gadc.c
@@ -249,7 +249,15 @@ void _gadcInit(void)
void _gadcDeinit(void)
{
- /* ToDo */
+ /* commented stuff is ToDo */
+
+ // gadc_lld_deinit();
+ gfxSemDestroy(&gadcsem);
+ gfxMutexDestroy(&gadcmutex);
+ //gtimerDeinit(&LowSpeedGTimer);
+ #if GFX_USE_GEVENT
+ //gtimerDeinit(&HighSpeedGTimer);
+ #endif
}
static inline void StartADC(bool_t onNoHS) {