-
- Downloads
vtimer: set custom msg_t.type with vtimer_set_msg
Currently, when using vtimer_set_msg the corresponding msg_t is filled with the MSG_TIMER ("12345") type. This approach makes it difficult to differentiate between incoming messages via vtimer_set_msg. In this PR I introduce another parameter for the vtimer_set_msg function to specify a custom msg_t type.
Showing
- drivers/cc110x_legacy_csma/cc1100_phy.c 2 additions, 2 deletionsdrivers/cc110x_legacy_csma/cc1100_phy.c
- sys/include/vtimer.h 4 additions, 1 deletionsys/include/vtimer.h
- sys/net/network_layer/sixlowpan/border/flowcontrol.c 1 addition, 1 deletionsys/net/network_layer/sixlowpan/border/flowcontrol.c
- sys/vtimer/vtimer.c 4 additions, 3 deletionssys/vtimer/vtimer.c
- tests/vtimer_msg/main.c 1 addition, 1 deletiontests/vtimer_msg/main.c
- tests/vtimer_msg_diff/main.c 1 addition, 1 deletiontests/vtimer_msg_diff/main.c
Loading
Please register or sign in to comment