1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 14:25:20 +03:00

Remove telemetry_*.c's dependency on mw.h/board.h.

Finally, the only dependency on mw.h/board.h is now mw.c itself.
This commit is contained in:
Dominic Clifton 2014-04-24 01:44:58 +01:00
parent 7af9ca4fdc
commit cb63f6e2b5
10 changed files with 96 additions and 34 deletions

View file

@ -40,17 +40,32 @@
* There is a technical discussion (in German) about HoTT here
* http://www.rc-network.de/forum/showthread.php/281496-Graupner-HoTT-Telemetrie-Sensoren-Eigenbau-DIY-Telemetrie-Protokoll-entschl%C3%BCsselt/page21
*/
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "board.h"
#include "mw.h"
#include "platform.h"
#include "common/axis.h"
#include "drivers/system_common.h"
#include "drivers/serial_common.h"
#include "serial_common.h"
#include "gps_common.h"
#include "runtime_config.h"
#include "sensors_common.h"
#include "flight_common.h"
#include "gps_common.h"
#include "battery.h"
#include "telemetry_common.h"
#include "telemetry_hott.h"
extern telemetryConfig_t *telemetryConfig;
const uint8_t kHoTTv4BinaryPacketSize = 45;
const uint8_t kHoTTv4TextPacketSize = 173;