void port_rx_clean_buffer ( uint8_t rx_id ) Clean the array that stores the time ticks of the edges detected by the infrared receiver. steps to follow: ✅ 1. Call function _reset_edge_ticks_idx(). Parameters rx_id Receiver ID. This index is used to select the element of the receivers_arr[] array.
void port_rx_clean_buffer(uint8_t rx_id) { // Reset the array index. reset_edge_ticks_idx(rx_id); }