diff --git a/code/nrf-connect/prstlib/src/shtc3.c b/code/nrf-connect/prstlib/src/shtc3.c index a0476a8..e17aad0 100644 --- a/code/nrf-connect/prstlib/src/shtc3.c +++ b/code/nrf-connect/prstlib/src/shtc3.c @@ -41,8 +41,6 @@ int prst_shtc3_read(prst_shtc3_read_t *out) { // Put the sensor in sleep mode. RET_IF_ERR(write_cmd(PRST_SHTC3_CMD_SLEEP)); - // TODO: Uninit i2c to save power? - // TODO: verify the CRC of the measurements. The function is described in the // datasheet. diff --git a/code/nrf-connect/samples/ble/prj.conf b/code/nrf-connect/samples/ble/prj.conf index 20f937b..b9a82ba 100644 --- a/code/nrf-connect/samples/ble/prj.conf +++ b/code/nrf-connect/samples/ble/prj.conf @@ -1,4 +1,3 @@ -# Enabling log has a big impact in power consumption. Only enable it while debugging. CONFIG_LOG=y CONFIG_PWM=y CONFIG_CBPRINTF_FP_SUPPORT=y @@ -17,8 +16,6 @@ CONFIG_PM_DEVICE=y CONFIG_USE_SEGGER_RTT=y -CONFIG_CONSOLE=n - # Otherwise a weird float multiplication error? CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y @@ -26,5 +23,5 @@ CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y # Application config. # See all options in Kconfig. -# CONFIG_PRST_SLEEP_DURATION_SEC=600 +# CONFIG_PRST_SLEEP_DURATION_SEC=1 # CONFIG_PRST_BLE_ENCODING_BTHOME_V2=y