修复 include 错误

This commit is contained in:
lxbpxylps@126.com 2021-03-21 23:37:13 +08:00
parent b1e5478518
commit 8e04862c86
2 changed files with 5 additions and 7 deletions

View File

@ -1,11 +1,10 @@
#include <Arduino.h> #include <Arduino.h>
#ifdef SENSOR_DEBUG
#include <NeoHWSerial.h>
#endif
#include "moveTaiChi.h" #include "moveTaiChi.h"
#ifdef MOVE_DEBUG
#include <NeoHWSerial.h>
#endif
Move::Move() Move::Move()
{ {

View File

@ -1,13 +1,12 @@
#include <Arduino.h> #include <Arduino.h>
#include <Wire.h> #include <Wire.h>
#include "sensorTaiChi.h"
#ifdef SENSOR_DEBUG #ifdef SENSOR_DEBUG
#include <NeoHWSerial.h> #include <NeoHWSerial.h>
#endif #endif
#include "sensorTaiChi.h"
Sensor::Sensor() Sensor::Sensor()
{ {
pinMode(BUTTON_1_OUT, INPUT_PULLUP); pinMode(BUTTON_1_OUT, INPUT_PULLUP);