mirror of
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library.git
synced 2026-02-20 01:21:25 +01:00
enable sensor reset
This commit is contained in:
4
src/drive/bma423/bma.cpp
Executable file → Normal file
4
src/drive/bma423/bma.cpp
Executable file → Normal file
@@ -39,8 +39,8 @@ bool BMA::begin()
|
||||
_dev.resolution = 12;
|
||||
_dev.feature_len = BMA423_FEATURE_SIZE;
|
||||
|
||||
// reset();
|
||||
// delay(20);
|
||||
reset();
|
||||
delay(20);
|
||||
|
||||
if (bma423_init(&_dev) != BMA4_OK) {
|
||||
log_e("bma423_init FAIL");
|
||||
|
||||
Reference in New Issue
Block a user