mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 09:31:36 +08:00
Whitespace cleanup
This commit is contained in:
@@ -95,13 +95,3 @@ open_uart(const char *device)
|
|||||||
|
|
||||||
return uart;
|
return uart;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -44,13 +44,3 @@
|
|||||||
int open_uart(const char *device);
|
int open_uart(const char *device);
|
||||||
|
|
||||||
#endif /* COMMS_H_ */
|
#endif /* COMMS_H_ */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -124,7 +124,6 @@ publish_gam_message(const uint8_t *buffer)
|
|||||||
_esc.esc[0].esc_temperature = msg.temperature1 - 20;
|
_esc.esc[0].esc_temperature = msg.temperature1 - 20;
|
||||||
_esc.esc[0].esc_voltage = (uint16_t)((msg.main_voltage_H << 8) | (msg.main_voltage_L & 0xff));
|
_esc.esc[0].esc_voltage = (uint16_t)((msg.main_voltage_H << 8) | (msg.main_voltage_L & 0xff));
|
||||||
_esc.esc[0].esc_current = (uint16_t)((msg.current_H << 8) | (msg.current_L & 0xff));
|
_esc.esc[0].esc_current = (uint16_t)((msg.current_H << 8) | (msg.current_L & 0xff));
|
||||||
//printf("T: %d\n", _esc.esc[0].esc_temperature);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user