change adacallback from cpp to c

This commit is contained in:
hathach committed 2017-09-15 16:32:44 +07:00
1 parent c53d337350
commit 89a3de8a05
2 files changed
+7

No files matched your search

File renamed without changes.
+7
View File
@@ -42,6 +42,10 @@
#define CFG_CALLBACK_TASK_STACKSIZE (512*2)
#define CFG_CALLBACK_QUEUE_LENGTH 20
#ifdef __cplusplus
extern "C"{
#endif
typedef struct
{
void* malloced_data;
@@ -99,5 +103,8 @@ typedef void (*adacb_5arg_t) (uint32_t, uint32_t, uint32_t, uint32_t, uint32_t);
void ada_callback_init(void);
void ada_callback_queue(ada_callback_t* cb_data);
#ifdef __cplusplus
}
#endif
#endif /* ADACALLBACK_H_ */