From 0b392a9d6eab8ba53f0e4340f1980a80f5592668 Mon Sep 17 00:00:00 2001 From: jflyper Date: Mon, 21 Oct 2019 23:10:53 +0900 Subject: [PATCH] Modify blackbox_unitest.cc for inclusion of debug.h --- src/test/unit/blackbox_unittest.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/test/unit/blackbox_unittest.cc b/src/test/unit/blackbox_unittest.cc index a873ed2014..63928107c4 100644 --- a/src/test/unit/blackbox_unittest.cc +++ b/src/test/unit/blackbox_unittest.cc @@ -20,6 +20,8 @@ extern "C" { #include "platform.h" + #include "build/debug.h" + #include "blackbox/blackbox.h" #include "common/utils.h" @@ -362,7 +364,8 @@ uint8_t armingFlags; uint8_t stateFlags; const uint32_t baudRates[] = {0, 9600, 19200, 38400, 57600, 115200, 230400, 250000, 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; gpsSolutionData_t gpsSol; int32_t GPS_home[2];