Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/can/counter/src/
Dmain.c138 struct can_bus_err_cnt err_cnt_prev = {0, 0}; in poll_state_thread() local
151 if (err_cnt.tx_err_cnt != err_cnt_prev.tx_err_cnt || in poll_state_thread()
152 err_cnt.rx_err_cnt != err_cnt_prev.rx_err_cnt || in poll_state_thread()
155 err_cnt_prev.tx_err_cnt = err_cnt.tx_err_cnt; in poll_state_thread()
156 err_cnt_prev.rx_err_cnt = err_cnt.rx_err_cnt; in poll_state_thread()