Skip to content

Commit

Permalink
fix missing includes (#5138)
Browse files Browse the repository at this point in the history
  • Loading branch information
mverch67 authored and caveman99 committed Nov 3, 2024
1 parent dfadec3 commit c993d49
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/detect/ScanI2CTwoWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
#include "linux/LinuxHardwareI2C.h"
#endif
#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL)
#include "main.h" // atecc
#include "main.h" // atecc
#include "meshUtils.h" // vformat
#endif

// AXP192 and AXP2101 have the same device address, we just need to identify it in Power.cpp
Expand Down
1 change: 1 addition & 0 deletions src/motion/LIS3DHSensor.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "LIS3DHSensor.h"
#include "NodeDB.h"

#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_I2C

Expand Down
1 change: 1 addition & 0 deletions src/motion/LSM6DS3Sensor.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "LSM6DS3Sensor.h"
#include "NodeDB.h"

#if !defined(ARCH_PORTDUINO) && !defined(ARCH_STM32WL) && !MESHTASTIC_EXCLUDE_I2C

Expand Down
1 change: 1 addition & 0 deletions src/motion/MotionSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "../graphics/Screen.h"
#include "../graphics/ScreenFonts.h"
#include "../power.h"
#include "Wire.h"

// Base class for motion processing
class MotionSensor
Expand Down

0 comments on commit c993d49

Please sign in to comment.