Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add guards to some defines #337

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make defines.h to be processed in debug.h
unlogisch04 committed Nov 16, 2024
commit 93aaa29cdaebe3c42ea304c5625f90e90ce8f0ac
3 changes: 3 additions & 0 deletions src/debug.h
Original file line number Diff line number Diff line change
@@ -23,6 +23,9 @@
#ifndef SLIMEVR_DEBUG_H_
#define SLIMEVR_DEBUG_H_
#include "consts.h"
#include "defines.h"
#include "defines_bmi160.h"
#include "defines_sensitivity.h"
#include "logging/Level.h"

#ifndef IMU_MPU6050_RUNTIME_CALIBRATION
4 changes: 0 additions & 4 deletions src/globals.h
Original file line number Diff line number Diff line change
@@ -25,11 +25,7 @@

#include <Arduino.h>

#include "consts.h"
#include "debug.h"
#include "defines.h"
#include "defines_bmi160.h"
#include "defines_sensitivity.h"

#ifndef SECOND_IMU
#define SECOND_IMU IMU