File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ static const ticker_interface_t lp_interface = {
35
35
#endif
36
36
.fire_interrupt = lp_ticker_fire_interrupt ,
37
37
.get_info = lp_ticker_get_info ,
38
+ .free = lp_ticker_free ,
38
39
};
39
40
40
41
static const ticker_data_t lp_data = {
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ static const ticker_interface_t us_interface = {
27
27
.set_interrupt = us_ticker_set_interrupt ,
28
28
.fire_interrupt = us_ticker_fire_interrupt ,
29
29
.get_info = us_ticker_get_info ,
30
+ .free = us_ticker_free ,
30
31
};
31
32
32
33
static const ticker_data_t us_data = {
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ typedef struct {
64
64
void (* clear_interrupt )(void ); /**< Clear interrupt function */
65
65
void (* set_interrupt )(timestamp_t timestamp ); /**< Set interrupt function */
66
66
void (* fire_interrupt )(void ); /**< Fire interrupt right-away */
67
+ void (* free )(void ); /**< Disable function */
67
68
const ticker_info_t * (* get_info )(void ); /**< Return info about this ticker's implementation */
68
69
} ticker_interface_t ;
69
70
You can’t perform that action at this time.
0 commit comments