mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-24 15:30:35 +08:00
Changed default prototype of the PanicListener callback
This commit is contained in:
@@ -17,7 +17,7 @@ namespace uavcan
|
||||
* void (const protocol::Panic&)
|
||||
* The listener can be stopped from the callback.
|
||||
*/
|
||||
template <typename Callback = void(*)(const protocol::Panic&)>
|
||||
template <typename Callback = void(*)(const ReceivedDataStructure<protocol::Panic>&)>
|
||||
class PanicListener : Noncopyable
|
||||
{
|
||||
typedef MethodBinder<PanicListener*, void(PanicListener::*)(const ReceivedDataStructure<protocol::Panic>&)>
|
||||
|
||||
Reference in New Issue
Block a user