diff options
author | Jean-François Milants <jf@codingfield.com> | 2021-04-08 20:07:24 +0200 |
---|---|---|
committer | Jean-François Milants <jf@codingfield.com> | 2021-04-08 20:07:24 +0200 |
commit | 9ac4be8b759bb2cedeb999ce5e87d983261beded (patch) | |
tree | 2a5fabd9b7505976c20b5512f9335e75290bdd86 /src/sdk_config.h | |
parent | 1d7576de64a33837434e6f414a74ae7dbe929196 (diff) |
TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases and workarounds for errors on the bus.
Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
Diffstat (limited to 'src/sdk_config.h')
-rw-r--r-- | src/sdk_config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdk_config.h b/src/sdk_config.h index aa1bbb3a..bc97ef14 100644 --- a/src/sdk_config.h +++ b/src/sdk_config.h @@ -4992,7 +4992,7 @@ // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver //========================================================== #ifndef NRFX_TWIM_ENABLED -#define NRFX_TWIM_ENABLED 0 +#define NRFX_TWIM_ENABLED 1 #endif // <q> NRFX_TWIM0_ENABLED - Enable TWIM0 instance @@ -5005,7 +5005,7 @@ #ifndef NRFX_TWIM1_ENABLED -#define NRFX_TWIM1_ENABLED 0 +#define NRFX_TWIM1_ENABLED 1 #endif // <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY - Frequency |