Open wzab opened 4 years ago
Dear Marcin,
I'm afraid, your write procedure can't be interrupted (via CTRL+C or sending any signal) in case of any hardware problems. The reason is that you do not check the result of wait_event_interruptible in line: https://github.com/mciupak/nrf24/blob/b9b7ebd32686b67ecb007864cb0084ea17e70354/nrf24_if.c#L369 You should interrupt the write loop and report an error here.
With best regards, Wojtek
Dear Marcin,
I'm afraid, your write procedure can't be interrupted (via CTRL+C or sending any signal) in case of any hardware problems. The reason is that you do not check the result of wait_event_interruptible in line: https://github.com/mciupak/nrf24/blob/b9b7ebd32686b67ecb007864cb0084ea17e70354/nrf24_if.c#L369 You should interrupt the write loop and report an error here.
With best regards, Wojtek