Skip to content

Commit

Permalink
Use CONFIG_THINGSET_SDK_LOG_LEVEL instead of CONFIG_LOG_DEFAULT_LEVEL
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjaeger committed Jul 8, 2023
1 parent 3d94a33 commit ce744d7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/auth.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <thingset.h>
#include <thingset/sdk.h>

LOG_MODULE_REGISTER(thingset_auth, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_auth, CONFIG_THINGSET_SDK_LOG_LEVEL);

static char auth_token[CONFIG_THINGSET_AUTH_TOKEN_MAX_SIZE];

Expand Down
2 changes: 1 addition & 1 deletion src/ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdio.h>
#include <string.h>

LOG_MODULE_REGISTER(thingset_ble, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_ble, CONFIG_THINGSET_SDK_LOG_LEVEL);

/* ThingSet Custom Service: xxxxyyyy-5423-4887-9c6a-14ad27bfc06d */
#define BT_UUID_THINGSET_SERVICE_VAL \
Expand Down
2 changes: 1 addition & 1 deletion src/sdk.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <thingset/sdk.h>
#include <thingset/storage.h>

LOG_MODULE_REGISTER(thingset_sdk, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_sdk, CONFIG_THINGSET_SDK_LOG_LEVEL);

/*
* The ThingSet node ID is an EUI-64 stored as upper-case hex string. It is also used as the
Expand Down
2 changes: 1 addition & 1 deletion src/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#include <stdlib.h>
#include <string.h>

LOG_MODULE_REGISTER(thingset_serial, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_serial, CONFIG_THINGSET_SDK_LOG_LEVEL);

#if DT_NODE_EXISTS(DT_CHOSEN(thingset_serial))
#define UART_DEVICE_NODE DT_CHOSEN(thingset_serial)
Expand Down
2 changes: 1 addition & 1 deletion src/storage_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#include <stdio.h>

LOG_MODULE_REGISTER(thingset_storage_eeprom, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_storage_eeprom, CONFIG_THINGSET_SDK_LOG_LEVEL);

/*
* EEPROM header bytes:
Expand Down
2 changes: 1 addition & 1 deletion src/storage_flash.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <stdio.h>

LOG_MODULE_REGISTER(thingset_storage_nvs, CONFIG_LOG_DEFAULT_LEVEL);
LOG_MODULE_REGISTER(thingset_storage_nvs, CONFIG_THINGSET_SDK_LOG_LEVEL);

/*
* NVS header bytes:
Expand Down

0 comments on commit ce744d7

Please sign in to comment.