1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Modify blackbox_unitest.cc for inclusion of debug.h

This commit is contained in:
jflyper 2019-10-21 23:10:53 +09:00
parent 703b0bbca6
commit 0b392a9d6e

View file

@ -20,6 +20,8 @@
extern "C" { extern "C" {
#include "platform.h" #include "platform.h"
#include "build/debug.h"
#include "blackbox/blackbox.h" #include "blackbox/blackbox.h"
#include "common/utils.h" #include "common/utils.h"
@ -362,7 +364,8 @@ uint8_t armingFlags;
uint8_t stateFlags; uint8_t stateFlags;
const uint32_t baudRates[] = {0, 9600, 19200, 38400, 57600, 115200, 230400, 250000, const uint32_t baudRates[] = {0, 9600, 19200, 38400, 57600, 115200, 230400, 250000,
400000, 460800, 500000, 921600, 1000000, 1500000, 2000000, 2470000}; // see baudRate_e 400000, 460800, 500000, 921600, 1000000, 1500000, 2000000, 2470000}; // see baudRate_e
uint8_t debugMode; uint8_t debugMode = 0;
int16_t debug[DEBUG16_VALUE_COUNT];
int32_t blackboxHeaderBudget; int32_t blackboxHeaderBudget;
gpsSolutionData_t gpsSol; gpsSolutionData_t gpsSol;
int32_t GPS_home[2]; int32_t GPS_home[2];