mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/driver-bmi088.git
synced 2025-09-29 00:37:33 +00:00
Added compile-time check for mock BMI088
This commit is contained in:
@@ -5,9 +5,14 @@
|
|||||||
#include <sta/debug/spatz.hpp>
|
#include <sta/debug/spatz.hpp>
|
||||||
#include <sta/debug/assert.hpp>
|
#include <sta/debug/assert.hpp>
|
||||||
|
|
||||||
|
#ifndef STA_BMI088_ACC_SPATZ_ID
|
||||||
|
# error "MS56xx acceleration SPATZ ID not defined."
|
||||||
|
#endif // !STA_MS56XX_TEMPERATURE_SPATZ_ID
|
||||||
|
|
||||||
|
#ifndef STA_BMI088_GYRO_SPATZ_ID
|
||||||
|
# error "MS56xx gyroscope SPATZ ID not defined."
|
||||||
|
#endif // !STA_MS56XX_PRESSURE_SPATZ_ID
|
||||||
|
|
||||||
#define STA_BMI088_ACC_SPATZ_ID 3
|
|
||||||
#define STA_BMI088_GYRO_SPATZ_ID 4
|
|
||||||
|
|
||||||
namespace sta
|
namespace sta
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user