mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Changed default prototype of the PanicListener callback
This commit is contained in:
parent
3829506368
commit
cee6ea3529
@ -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>&)>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user