diff --git a/apps/collect-view/collect-view.c b/apps/collect-view/collect-view.c index e30633513..331256365 100644 --- a/apps/collect-view/collect-view.c +++ b/apps/collect-view/collect-view.c @@ -49,7 +49,7 @@ /*---------------------------------------------------------------------------*/ void collect_view_construct_message(struct collect_view_data_msg *msg, - rimeaddr_t *parent, + const rimeaddr_t *parent, uint16_t parent_etx, uint16_t current_rtmetric, uint16_t num_neighbors, diff --git a/apps/collect-view/collect-view.h b/apps/collect-view/collect-view.h index 7df382393..259fec370 100644 --- a/apps/collect-view/collect-view.h +++ b/apps/collect-view/collect-view.h @@ -23,7 +23,7 @@ struct collect_view_data_msg { }; void collect_view_construct_message(struct collect_view_data_msg *msg, - rimeaddr_t *parent, + const rimeaddr_t *parent, uint16_t etx_to_parent, uint16_t current_rtmetric, uint16_t num_neighbors,