Skip to content

Commit c4d81f4

Browse files
author
Jarkko Paso
committed
WS neigh: Fixed reading RSL out
1 parent b4fc3f9 commit c4d81f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/6LoWPAN/ws/ws_neighbor_class.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ uint8_t ws_neighbor_class_rssi_from_dbm_calculate(int8_t dbm_heard);
147147
*
148148
*/
149149
#define ws_neighbor_class_rsl_in_get(ws_neighbour) (ws_neighbour->rsl_in >> WS_RSL_SCALING)
150-
#define ws_neighbor_class_rsl_out_get(ws_neighbour) (ws_neighbour->rsl_in >> WS_RSL_SCALING)
150+
#define ws_neighbor_class_rsl_out_get(ws_neighbour) (ws_neighbour->rsl_out >> WS_RSL_SCALING)
151151

152152
/**
153153
* ws_neighbor_class_neighbor_broadcast_schedule_set a function for update neighbor broadcast shedule information

0 commit comments

Comments
 (0)