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:
Lucas De Marchi 2016-01-18 19:20:44 -02:00
parent 5629f38b2c
commit c8947c3e9c

View File

@ -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));
}