Skip to content

Commit 5dc55dd

Browse files
committed
mod: commented out the BRIDGE_ERROR notification
1 parent 381fed7 commit 5dc55dd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/bridge.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
#define RESET_METHOD "$/reset"
1818
#define BIND_METHOD "$/register"
19-
#define BRIDGE_ERROR "$/bridgeError"
19+
//#define BRIDGE_ERROR "$/bridgeLog"
2020

2121
#define UPDATE_THREAD_STACK_SIZE 500
2222
#define UPDATE_THREAD_PRIORITY 5
@@ -43,11 +43,11 @@ class RpcResult {
4343
if (k_mutex_lock(read_mutex, K_MSEC(10)) == 0 ) {
4444
if (client->get_response(msg_id_wait, result, error)) {
4545
k_mutex_unlock(read_mutex);
46-
if (error.code == PARSING_ERR) {
47-
k_mutex_lock(write_mutex, K_FOREVER);
48-
client->notify(BRIDGE_ERROR, error.traceback);
49-
k_mutex_unlock(write_mutex);
50-
}
46+
// if (error.code == PARSING_ERR) {
47+
// k_mutex_lock(write_mutex, K_FOREVER);
48+
// client->notify(BRIDGE_ERROR, error.traceback);
49+
// k_mutex_unlock(write_mutex);
50+
// }
5151
break;
5252
}
5353
k_mutex_unlock(read_mutex);

0 commit comments

Comments
 (0)