File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed
hott-px4-code/px4-hott-module Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,15 @@ config:
2020quad : px4-hott
2121 cd ardupilot/ArduCopter; $(MAKE ) px4-quad
2222
23+ hexa : px4-hott
24+ cd ardupilot/ArduCopter; $(MAKE ) px4-hexa
25+
2326# upload ArduCopter to PX4
24- v1-upload : px4-hott
27+ v1-upload :
2528 cd ardupilot/ArduCopter; $(MAKE ) px4-v1-upload
2629
2730# upload ArduCopter to Pixhawk
28- v2-upload : px4-hott
31+ v2-upload :
2932 cd ardupilot/ArduCopter; $(MAKE ) px4-v2-upload
3033
3134px4-hott :
Original file line number Diff line number Diff line change @@ -388,7 +388,6 @@ void hott_send_vario_msgs(int uart) {
388388 send_data (uart, (uint8_t *)&msg, sizeof (struct HOTT_VARIO_MSG ));
389389}
390390
391-
392391void hott_send_eam_msg (int uart) {
393392 struct HOTT_EAM_MSG msg;
394393
@@ -418,7 +417,6 @@ void hott_send_eam_msg(int uart) {
418417 send_data (uart, (uint8_t *)&msg, sizeof (struct HOTT_EAM_MSG ));
419418}
420419
421-
422420void hott_send_gps_msg (int uart) {
423421 struct HOTT_GPS_MSG msg;
424422
Original file line number Diff line number Diff line change 4949//Text mode msgs type
5050struct HOTT_TEXTMODE_MSG {
5151 int8_t start_byte ; //#01 constant value 0x7b
52- int8_t fill1 ; //#02 constant value 0x00
53- int8_t warning_beeps ; //#03 1=A 2=B ...
52+ int8_t fill1 ; //#02 constant value 0x00
53+ int8_t warning_beeps ;//#03 1=A 2=B ...
5454 int8_t msg_txt [HOTT_TEXTMODE_MSG_TEXT_LEN ]; //#04 ASCII text to display to
55- // Bit 7 = 1 -> Inverse character display
56- // Display 21x8
57- int8_t stop_byte ; //#171 constant value 0x7d
55+ // Bit 7 = 1 -> Inverse character display
56+ // Display 21x8
57+ int8_t stop_byte ; //#171 constant value 0x7d
5858 int8_t parity ; //#172 Checksum / parity
5959};
6060struct HOTT_GAM_MSG {
@@ -299,9 +299,9 @@ struct HOTT_EAM_MSG {
299299
300300//HoTT GPS Sensor response to Receiver (?!not?! Smartbox)
301301struct HOTT_GPS_MSG {
302- int8_t start_byte ; //#01 constant value 0x7c
303- int8_t gps_sensor_id ; //#02 constant value 0x8a
304- int8_t warning_beeps ; //#03 1=A 2=B ...
302+ int8_t start_byte ; //#01 constant value 0x7c
303+ int8_t gps_sensor_id ; //#02 constant value 0x8a
304+ int8_t warning_beeps ; //#03 1=A 2=B ...
305305 // A Min Speed
306306 // L Max Speed
307307 // O Min Altitude
You can’t perform that action at this time.
0 commit comments