implemented some deinit()
This commit is contained in:
parent
a11f7da536
commit
7825434591
4 changed files with 16 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -94,7 +94,10 @@ void _gaudinInit(void)
|
|||
|
||||
void _gaudinDeinit(void)
|
||||
{
|
||||
/* ToDo */
|
||||
// Commented stuff still ToDo
|
||||
#if GFX_USE_GEVENT
|
||||
gtimerDeinit(&AudGTimer);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool_t gaudinInit(uint16_t channel, uint32_t frequency, audin_sample_t *buffer, size_t bufcount, size_t samplesPerEvent) {
|
||||
|
|
|
@ -53,7 +53,7 @@ void _geventInit(void)
|
|||
|
||||
void _geventDeinit(void)
|
||||
{
|
||||
/* ToDo */
|
||||
gfxMutexDestroy(&geventMutex);
|
||||
}
|
||||
|
||||
void geventListenerInit(GListener *pl) {
|
||||
|
|
|
@ -126,7 +126,8 @@ void _gtimerInit(void)
|
|||
|
||||
void _gtimerDeinit(void)
|
||||
{
|
||||
/* ToDo */
|
||||
gfxSemDestroy(&waitsem);
|
||||
gfxMutexDestroy(&mutex);
|
||||
}
|
||||
|
||||
void gtimerInit(GTimer *pt) {
|
||||
|
|
Loading…
Add table
Reference in a new issue