drivers: counter: shell: change callback functions to static
These callback functions are not used outside of the file, make them `static` Signed-off-by: Yong Cong Sin <ycsin@meta.com> Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
This commit is contained in:
parent
ff8cbd1eda
commit
a3d9ede341
@ -22,14 +22,14 @@
|
||||
|
||||
static struct k_sem timer_sem;
|
||||
|
||||
void timer_top_handler(const struct device *counter_dev, void *user_data)
|
||||
static void timer_top_handler(const struct device *counter_dev, void *user_data)
|
||||
{
|
||||
ARG_UNUSED(counter_dev);
|
||||
|
||||
k_sem_give(&timer_sem);
|
||||
}
|
||||
|
||||
void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id,
|
||||
static void timer_alarm_handler(const struct device *counter_dev, uint8_t chan_id,
|
||||
uint32_t ticks, void *user_data)
|
||||
{
|
||||
ARG_UNUSED(counter_dev);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user