Home
last modified time | relevance | path

Searched refs:btn_work (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/samples/bluetooth/central_otc/src/
Dmain.c107 struct otc_btn_work_info *btn_work = CONTAINER_OF(dwork, struct otc_btn_work_info, work); in otc_btn_work_fn() local
111 if (btn_work->pins == BIT(button0.pin)) { in otc_btn_work_fn()
125 } else if (btn_work->pins == BIT(button1.pin)) { in otc_btn_work_fn()
133 } else if (btn_work->pins == BIT(button2.pin)) { in otc_btn_work_fn()
154 } else if (btn_work->pins == BIT(button3.pin)) { in otc_btn_work_fn()