mirror of https://github.com/ARMmbed/mbed-os.git
Typo fixed.
parent
c0172154e6
commit
0258c89f6d
|
@ -30,7 +30,7 @@ typedef struct ws_rpl_info {
|
|||
/** RPL version number */
|
||||
uint8_t version;
|
||||
/** RPL DODAG node current Rank */
|
||||
uint16_t curent_rank;
|
||||
uint16_t current_rank;
|
||||
/** RPL Primary Parent Rank */
|
||||
uint16_t primary_parent_rank;
|
||||
} ws_rpl_info_t;
|
||||
|
|
|
@ -588,7 +588,7 @@ mesh_error_t WisunInterface::info_get(ws_rpl_info_t *info_ptr)
|
|||
|
||||
info_ptr->instance_id = dodag_ptr.instance_id;
|
||||
info_ptr->version = dodag_ptr.version_num;
|
||||
info_ptr->curent_rank = dodag_ptr.curent_rank;
|
||||
info_ptr->current_rank = dodag_ptr.curent_rank;
|
||||
info_ptr->primary_parent_rank = dodag_ptr.primary_parent_rank;
|
||||
memcpy(info_ptr->rpl_dodag_id, dodag_ptr.dodag_id, 16);
|
||||
|
||||
|
|
Loading…
Reference in New Issue