Changed name of config value for prstlib default log level.
This commit is contained in:
parent
891a63a1b3
commit
412188502b
8 changed files with 8 additions and 8 deletions
|
|
@ -8,6 +8,6 @@ config BOARD_ENABLE_DCDC
|
|||
|
||||
endif # BOARD_BPARASITE_NRF52833
|
||||
|
||||
config CORE_LOG_LEVEL
|
||||
config PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
int "Logging level in core prst library."
|
||||
default 2
|
||||
|
|
@ -13,6 +13,6 @@ config BOARD_ENABLE_DCDC_HV
|
|||
|
||||
endif # BOARD_BPARASITE_NRF52840
|
||||
|
||||
config CORE_LOG_LEVEL
|
||||
config PRSTLIB_DEFAULT_LOG_LEVEL
|
||||
int "Logging level in core prst library."
|
||||
default 2
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
LOG_MODULE_REGISTER(adc, CONFIG_CORE_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(adc, CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL);
|
||||
|
||||
// PWM spec for square wave. Input to the soil sensing circuit.
|
||||
static const struct pwm_dt_spec soil_pwm_dt =
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "prstlib/led.h"
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
LOG_MODULE_REGISTER(button, CONFIG_CORE_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(button, CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL);
|
||||
|
||||
static struct gpio_dt_spec button =
|
||||
GPIO_DT_SPEC_GET(DT_NODELABEL(button0), gpios);
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
LOG_MODULE_REGISTER(led, CONFIG_CORE_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(led, CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL);
|
||||
|
||||
struct gpio_dt_spec led = GPIO_DT_SPEC_GET(DT_NODELABEL(led0), gpios);
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
#include "prstlib/led.h"
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
LOG_MODULE_REGISTER(sensors, CONFIG_CORE_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(sensors, CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL);
|
||||
|
||||
int prst_sensors_read_all(prst_sensors_t *sensors) {
|
||||
RET_IF_ERR(prst_adc_batt_read(&sensors->batt));
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include "prstlib/macros.h"
|
||||
|
||||
LOG_MODULE_REGISTER(shtc3, CONFIG_CORE_LOG_LEVEL);
|
||||
LOG_MODULE_REGISTER(shtc3, CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL);
|
||||
|
||||
static const struct i2c_dt_spec shtc3 = I2C_DT_SPEC_GET(DT_NODELABEL(shtc3));
|
||||
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ CONFIG_RAM_POWER_DOWN_LIBRARY=y
|
|||
CONFIG_PRST_ZB_SLEEP_DURATION_SEC=10
|
||||
|
||||
CONFIG_LOG_DEFAULT_LEVEL=4
|
||||
CONFIG_CORE_LOG_LEVEL=4
|
||||
CONFIG_PRSTLIB_DEFAULT_LOG_LEVEL=4
|
||||
|
||||
CONFIG_MODEL_ID="Z-Parasite"
|
||||
CONFIG_BUILD_DATE="20221216"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue