mirror of https://github.com/ArduPilot/ardupilot
AP_Beacon: minor formatting fixes for marvelmind
This commit is contained in:
parent
4daba8e98a
commit
945a7bfaed
|
@ -338,7 +338,7 @@ void AP_Beacon_Marvelmind::create_marvelmind_hedge()
|
||||||
hedge->_last_values_count = 0;
|
hedge->_last_values_count = 0;
|
||||||
hedge->_last_values_next = 0;
|
hedge->_last_values_next = 0;
|
||||||
hedge->_have_new_values = false;
|
hedge->_have_new_values = false;
|
||||||
hedge->terminationRequired = false;
|
hedge->termination_required = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -351,7 +351,7 @@ void AP_Beacon_Marvelmind::start_marvelmind_hedge()
|
||||||
if (hedge->verbose) {
|
if (hedge->verbose) {
|
||||||
hal.console->printf("MarvelMind: Not enough memory");
|
hal.console->printf("MarvelMind: Not enough memory");
|
||||||
}
|
}
|
||||||
hedge->terminationRequired = true;
|
hedge->termination_required = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (uint8_t i = 0; i < hedge->max_buffered_positions; i++) {
|
for (uint8_t i = 0; i < hedge->max_buffered_positions; i++) {
|
||||||
|
|
|
@ -77,7 +77,7 @@ private:
|
||||||
StationaryBeaconsPositions positions_beacons;
|
StationaryBeaconsPositions positions_beacons;
|
||||||
bool verbose; // verbose flag which activate console output, default: False
|
bool verbose; // verbose flag which activate console output, default: False
|
||||||
bool pause; // pause flag. If True, class would not read serial data
|
bool pause; // pause flag. If True, class would not read serial data
|
||||||
bool terminationRequired; // If True, thread would exit from main loop and stop
|
bool termination_required; // If True, thread would exit from main loop and stop
|
||||||
void (*receive_data_callback)(PositionValue position); // receive_data_callback is callback function to receive data
|
void (*receive_data_callback)(PositionValue position); // receive_data_callback is callback function to receive data
|
||||||
|
|
||||||
uint8_t _last_values_count;
|
uint8_t _last_values_count;
|
||||||
|
|
Loading…
Reference in New Issue