diff --git a/epicardium/epicardium.h b/epicardium/epicardium.h index 277869ec459637450c98cff5f02508ccd1182429..b576662965726dcf83caefcb3287e87c791da319 100644 --- a/epicardium/epicardium.h +++ b/epicardium/epicardium.h @@ -108,7 +108,7 @@ typedef _Bool bool; #define API_PERSONAL_STATE_IS_PERSISTENT 0xc2 #define API_BME680_INIT 0xD0 -#define API_BME680_DEINIT 0xD1 +#define API_BME680_DEINIT 0xD1 #define API_BME680_GET_DATA 0xD2 /* clang-format on */ diff --git a/pycardium/mpconfigport.h b/pycardium/mpconfigport.h index db2000b3b9c009f0d5b12beb7deec0090bb28c8b..af27e146f99e46735e5f33bd013383dd47233fa7 100644 --- a/pycardium/mpconfigport.h +++ b/pycardium/mpconfigport.h @@ -45,6 +45,7 @@ int mp_hal_trng_read_int(void); #define MICROPY_PY_UERRNO (1) /* Modules */ +#define MODULE_BME680_ENABLED (1) #define MODULE_BUTTONS_ENABLED (1) #define MODULE_DISPLAY_ENABLED (1) #define MODULE_GPIO_ENABLED (1) @@ -55,7 +56,6 @@ int mp_hal_trng_read_int(void); #define MODULE_PERSONAL_STATE_ENABLED (1) #define MODULE_UTIME_ENABLED (1) #define MODULE_VIBRA_ENABLED (1) -#define MODULE_BME680_ENABLED (1) /* * This port is intended to be 32-bit, but unfortunately, int32_t for