Cleanspaces

This commit is contained in:
Christophe De Wagter
2012-03-24 13:53:18 +01:00
parent 20d0b61f65
commit aa88480860
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -85,9 +85,9 @@ void baro_board_send_config_abs(void) {
#pragma message "Using High LisaL Baro Gain: Do not use below 1000hPa"
baro_board_write_to_register(BARO_ABS_ADDR, 0x01, 0x86, 0x83);
#else
#pragma message "Using Low LisaL Baro Gain, capable of measuring below 1000hPa or more"
#pragma message "Using Low LisaL Baro Gain, capable of measuring below 1000hPa or more"
//config register should be 0x84 in low countries, or 0x86 in normal countries
baro_board_write_to_register(BARO_ABS_ADDR, 0x01, 0x84, 0x83);
baro_board_write_to_register(BARO_ABS_ADDR, 0x01, 0x84, 0x83);
#endif
}
+1 -1
View File
@@ -45,7 +45,7 @@
#define AP_MODE_HOVER_CLIMB 10
#define AP_MODE_HOVER_Z_HOLD 11
#define AP_MODE_NAV 12
#define AP_MODE_RC_DIRECT 13 // Safety Pilot Direct Commands for helicopter direct control: appropriately chosen as mode "13"
#define AP_MODE_RC_DIRECT 13 // Safety Pilot Direct Commands for helicopter direct control: appropriately chosen as mode "13"
extern uint8_t autopilot_mode;
+2 -2
View File
@@ -113,7 +113,7 @@ void nav_catapult_highrate_module(void)
//###############################################################################################
// Code that runs in 4Hz Nav
bool_t nav_catapult_init(void)
bool_t nav_catapult_init(void)
{
nav_catapult_armed = TRUE;
@@ -124,7 +124,7 @@ bool_t nav_catapult_init(void)
bool_t nav_catapult(uint8_t _to, uint8_t _climb)
bool_t nav_catapult(uint8_t _to, uint8_t _climb)
{
float alt = WaypointAlt(_climb);
+1 -1
View File
@@ -127,7 +127,7 @@ let show_fp = fun ac ->
let hide_fp = fun ac ->
ac.fp_group#hide ();
ac.fp_show#set_active false
(* callback for FP check button in menu *)
let show_mission = fun ac on_off ->
let a = find_ac ac in