mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_HAL_Linux: RCInput_RPI: provide signal information
Otherwise it's difficult to know what signal is causing the program to exit.
This commit is contained in:
parent
5629f38b2c
commit
c8947c3e9c
@ -264,7 +264,7 @@ void RCInput_RPI::stop_dma()
|
||||
void RCInput_RPI::termination_handler(int signum)
|
||||
{
|
||||
stop_dma();
|
||||
AP_HAL::panic("Interrupted");
|
||||
AP_HAL::panic("Interrupted: %s", strsignal(signum));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user