File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ extern "C" {
2323/**
2424 * @brief Event handler prototype.
2525 */
26- typedef void (* evt_handler_t )(void * evt , size_t len );
26+ typedef void (* bm_scheduler_fn_t )(void * evt , size_t len );
2727
2828/**
2929 * @brief An event to be scheduled for execution in the main thread.
@@ -38,7 +38,7 @@ struct bm_scheduler_event {
3838 /**
3939 * @brief Event handler.
4040 */
41- evt_handler_t handler ;
41+ bm_scheduler_fn_t handler ;
4242 /**
4343 * @brief Event length.
4444 */
@@ -63,7 +63,7 @@ struct bm_scheduler_event {
6363 * @retval -EINVAL Invalid @p data and @p len combination.
6464 * @retval -ENOMEM No memory to schedule this event.
6565 */
66- int bm_scheduler_defer (evt_handler_t handler , void * data , size_t len );
66+ int bm_scheduler_defer (bm_scheduler_fn_t handler , void * data , size_t len );
6767
6868/**
6969 * @brief Process deferred events.
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ static sys_slist_t event_list;
1919static struct sys_heap heap ;
2020static uint8_t buf [CONFIG_BM_SCHEDULER_BUF_SIZE ];
2121
22- int bm_scheduler_defer (evt_handler_t handler , void * data , size_t len )
22+ int bm_scheduler_defer (bm_scheduler_fn_t handler , void * data , size_t len )
2323{
2424 uint32_t pm ;
2525 struct bm_scheduler_event * evt ;
You can’t perform that action at this time.
0 commit comments