Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: source/thread_br_conn_handler.c
- Revision:
- 82:3d9e3b7b3dcf
- Parent:
- 55:01540dd2f111
diff -r afdeda18ff0c -r 3d9e3b7b3dcf source/thread_br_conn_handler.c
--- a/source/thread_br_conn_handler.c Thu Nov 22 11:15:40 2018 +0000
+++ b/source/thread_br_conn_handler.c Fri Nov 23 14:45:35 2018 +0000
@@ -18,7 +18,7 @@
#define TRACE_GROUP "TBRH"
typedef struct {
-
+
int8_t thread_interface_id;
int8_t eth_interface_id;
bool eth_connection_ready;
@@ -29,10 +29,10 @@
void thread_br_conn_handler_init(void)
{
- thread_br_handler.thread_interface_id = -1;
+ thread_br_handler.thread_interface_id = -1;
thread_br_handler.thread_connection_ready = 0;
- thread_br_handler.eth_interface_id = -1;
+ thread_br_handler.eth_interface_id = -1;
thread_br_handler.eth_connection_ready = 0;
}
@@ -54,9 +54,8 @@
{
thread_br_handler.thread_interface_id = interfaceId;
thread_bbr_extension_mesh_interface_updated_ntf(thread_br_handler.thread_interface_id);
- if (thread_br_handler.thread_interface_id > -1 &&
- thread_br_handler.eth_interface_id > -1) {
- thread_bbr_start(thread_br_handler.thread_interface_id, thread_br_handler.eth_interface_id);
+ if (thread_br_handler.thread_interface_id > -1 && thread_br_handler.eth_interface_id > -1) {
+ thread_bbr_start(thread_br_handler.thread_interface_id, thread_br_handler.eth_interface_id);
}
}
@@ -79,9 +78,8 @@
{
thread_br_handler.eth_interface_id = interfaceId;
thread_bbr_extension_bb_interface_updated_ntf(thread_br_handler.eth_interface_id);
- if (thread_br_handler.thread_interface_id > -1 &&
- thread_br_handler.eth_interface_id > -1) {
- thread_bbr_start(thread_br_handler.thread_interface_id, thread_br_handler.eth_interface_id);
+ if (thread_br_handler.thread_interface_id > -1 && thread_br_handler.eth_interface_id > -1) {
+ thread_bbr_start(thread_br_handler.thread_interface_id, thread_br_handler.eth_interface_id);
}
}