1 /*
2  * Copyright (C) 2015-2018 Alibaba Group Holding Limited
3  */
4 #include "dev_bind_internal.h"
5 
6 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
7 extern "C" {
8 #endif
9 
awss_stop_timer(void * timer)10 int awss_stop_timer(void *timer)
11 {
12     if (timer == NULL)
13         return 0;
14     HAL_Timer_Stop(timer);
15     HAL_Timer_Delete(timer);
16     return 0;
17 }
18 
19 #if defined(__cplusplus) /* If this is a C++ compiler, use C linkage */
20 }
21 #endif
22