Skip to content

Commit cc8e985

Browse files
committed
Fix no-logging
1 parent 82217f4 commit cc8e985

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

components/robusto/base/src/init/init_robusto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include <robusto_logging.h>
3838
#include <robusto_init_internal.h>
3939
#include <robusto_sys_queue.h>
40-
40+
#include <robusto_time.h>
4141
typedef struct service
4242
{
4343
init_callback_t *init_cb;

components/robusto/base/src/logging/logging_robusto.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ void rob_log_bit_mesh(rob_log_level_t level,
5757
const char *tag,
5858
uint8_t *data, int data_len)
5959
{
60+
#if (ROB_LOG_LOCAL_LEVEL > ROB_LOG_NONE)
6061
if (ROB_LOG_LOCAL_LEVEL >= level)
6162
{
6263
unsigned int curr_pos = 0;
@@ -110,4 +111,5 @@ void rob_log_bit_mesh(rob_log_level_t level,
110111
curr_pos = curr_pos + 8;
111112
} while (curr_pos < data_len);
112113
}
114+
#endif
113115
}

components/robusto/idf_component.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "2.1.16"
1+
version: "2.1.17"
22
description: "Robusto framework"
33
url: "https://github.com/RobustoFramework"
44
repository: "https://github.com/RobustoFramework/Robusto.git"

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "robusto",
3-
"version": "2.1.16",
3+
"version": "2.1.17",
44
"description": "The Robusto framework.",
55
"keywords": "framework, microcontrollers",
66
"repository": {

0 commit comments

Comments
 (0)