Skip to content

Commit 38a3dac

Browse files
3ycAdam Majerczyk
authored andcommitted
clenaup
1 parent fe7a635 commit 38a3dac

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

PX4/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,15 @@ config:
2020
quad: 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

3134
px4-hott:

PX4/hott-px4-code/px4-hott-module/ap_hott.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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-
392391
void 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-
422420
void hott_send_gps_msg(int uart) {
423421
struct HOTT_GPS_MSG msg;
424422

PX4/hott-px4-code/px4-hott-module/hott_msgs.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
//Text mode msgs type
5050
struct 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
};
6060
struct HOTT_GAM_MSG {
@@ -299,9 +299,9 @@ struct HOTT_EAM_MSG {
299299

300300
//HoTT GPS Sensor response to Receiver (?!not?! Smartbox)
301301
struct 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

0 commit comments

Comments
 (0)