some fixes

This commit is contained in:
sharandac
2020-08-10 12:35:39 +02:00
parent 40794d8b0a
commit 400fcbd622
14 changed files with 107 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ void bma_setup( TTGOClass *ttgo ) {
void bma_standby( void ) {
TTGOClass *ttgo = TTGOClass::getWatch();
log_i("standby");
log_i("go standby");
if ( bma_get_config( BMA_STEPCOUNTER ) )
ttgo->bma->enableStepCountInterrupt( false );
@@ -82,7 +82,7 @@ void bma_standby( void ) {
void bma_wakeup( void ) {
TTGOClass *ttgo = TTGOClass::getWatch();
log_i("wakeup");
log_i("go wakeup");
if ( bma_get_config( BMA_STEPCOUNTER ) )
ttgo->bma->enableStepCountInterrupt( true );