mirror of https://github.com/ArduPilot/ardupilot
AP_Scripting: re-order initialiser lines so -Werror=reorder will work
This commit is contained in:
parent
1ce391c6e8
commit
bb9a0a5b2f
|
@ -60,7 +60,10 @@ private:
|
|||
class ScriptingCANBuffer {
|
||||
public:
|
||||
|
||||
ScriptingCANBuffer(ScriptingCANSensor &_sensor, uint32_t buffer_size):sensor(_sensor), buffer(buffer_size) {};
|
||||
ScriptingCANBuffer(ScriptingCANSensor &_sensor, uint32_t buffer_size):
|
||||
buffer(buffer_size),
|
||||
sensor(_sensor)
|
||||
{};
|
||||
|
||||
// Call main sensor write method
|
||||
bool write_frame(AP_HAL::CANFrame &out_frame, const uint32_t timeout_us);
|
||||
|
|
Loading…
Reference in New Issue