Cleanup comments
This commit is contained in:
parent
3b104cdf24
commit
dbaf44ecc1
2 changed files with 1 additions and 6 deletions
|
|
@ -41,8 +41,6 @@ int prst_shtc3_read(prst_shtc3_read_t *out) {
|
||||||
// Put the sensor in sleep mode.
|
// Put the sensor in sleep mode.
|
||||||
RET_IF_ERR(write_cmd(PRST_SHTC3_CMD_SLEEP));
|
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
|
// TODO: verify the CRC of the measurements. The function is described in the
|
||||||
// datasheet.
|
// datasheet.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
# Enabling log has a big impact in power consumption. Only enable it while debugging.
|
|
||||||
CONFIG_LOG=y
|
CONFIG_LOG=y
|
||||||
CONFIG_PWM=y
|
CONFIG_PWM=y
|
||||||
CONFIG_CBPRINTF_FP_SUPPORT=y
|
CONFIG_CBPRINTF_FP_SUPPORT=y
|
||||||
|
|
@ -17,8 +16,6 @@ CONFIG_PM_DEVICE=y
|
||||||
|
|
||||||
CONFIG_USE_SEGGER_RTT=y
|
CONFIG_USE_SEGGER_RTT=y
|
||||||
|
|
||||||
CONFIG_CONSOLE=n
|
|
||||||
|
|
||||||
# Otherwise a weird float multiplication error?
|
# Otherwise a weird float multiplication error?
|
||||||
CONFIG_NEWLIB_LIBC=y
|
CONFIG_NEWLIB_LIBC=y
|
||||||
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
||||||
|
|
@ -26,5 +23,5 @@ CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
||||||
# Application config.
|
# Application config.
|
||||||
|
|
||||||
# See all options in Kconfig.
|
# See all options in Kconfig.
|
||||||
# CONFIG_PRST_SLEEP_DURATION_SEC=600
|
# CONFIG_PRST_SLEEP_DURATION_SEC=1
|
||||||
# CONFIG_PRST_BLE_ENCODING_BTHOME_V2=y
|
# CONFIG_PRST_BLE_ENCODING_BTHOME_V2=y
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue