Make util module header instead of .ino-file

This commit is contained in:
Oleg Kalachev
2025-01-10 06:51:14 +03:00
parent 08b14d1d76
commit 85172cdcc8
11 changed files with 11 additions and 9 deletions

View File

@@ -5,6 +5,7 @@
#include <SPI.h>
#include <MPU9250.h>
#include "util.h"
MPU9250 IMU(SPI);
@@ -12,8 +13,6 @@ Vector accBias;
Vector gyroBias;
Vector accScale(1, 1, 1);
extern const float ONE_G;
void setupIMU() {
Serial.println("Setup IMU");
bool status = IMU.begin();