diff --git a/src/telemetry_hott.c b/src/telemetry_hott.c index af791841e8..1569c6ddd3 100644 --- a/src/telemetry_hott.c +++ b/src/telemetry_hott.c @@ -139,7 +139,7 @@ void hottV4GPSUpdate(void) * Writes cell 1-4 high, low values and if not available * calculates vbat. */ -static void hottV4EAMUpdateBattery() +static void hottV4EAMUpdateBattery(void) { #if 0 HoTTV4ElectricAirModule.cell1L = 4.2f * 10 * 5; // 2mv step @@ -171,7 +171,7 @@ static void hottV4EAMUpdateBattery() #endif } -static void hottV4EAMUpdateTemperatures() +static void hottV4EAMUpdateTemperatures(void) { HoTTV4ElectricAirModule.temp1 = 20 + 0; HoTTV4ElectricAirModule.temp2 = 20; diff --git a/src/telemetry_hott.h b/src/telemetry_hott.h index 89f615fb4a..f808defecf 100644 --- a/src/telemetry_hott.h +++ b/src/telemetry_hott.h @@ -8,7 +8,7 @@ #ifndef TELEMETRY_HOTT_H_ #define TELEMETRY_HOTT_H_ -/* ###### HoTT module specifications ###### */ +/* HoTT module specifications */ #define HOTTV4_GENERAL_AIR_SENSOR_ID 0xD0 @@ -76,14 +76,14 @@ typedef enum { HoTTv4NotificationReceiver = 0x35, } HoTTv4Notification; -/*----------------------------------------------------------- -GPS -Receiver -> GPS Sensor (Flightcontrol) -Byte 1: 0x80 = Receiver byte -Byte 2: 0x8A = GPS Sensor byte (witch data Transmitter wants to get) -5ms Idle Line! -5ms delay ------------------------------------------------------------*/ +/** + * GPS + * Receiver -> GPS Sensor (Flightcontrol) + * Byte 1: 0x80 = Receiver byte + * Byte 2: 0x8A = GPS Sensor byte (witch data Transmitter wants to get) + * 5ms Idle Line! + * 5ms delay + */ struct { uint8_t startByte; // Byte 1: 0x7C = Start byte data @@ -144,13 +144,13 @@ struct { uint8_t endByte; // Byte 44: 0x7D End byte } HoTTV4GPSModule; -/*----------------------------------------------------------- -EAM (Electric Air Module) 33620 -EmpfängerElectric Sensor -Byte 1: 80 = Receiver byte -Byte 2: 8E = Electric Sensor byte -5ms Idle Line! - *-----------------------------------------------------------*/ +/** + * EAM (Electric Air Module) 33620 + * EmpfängerElectric Sensor + * Byte 1: 80 = Receiver byte + * Byte 2: 8E = Electric Sensor byte + * 5ms Idle Line! +*/ struct { uint8_t startByte;