[riot-commits] [RIOT-OS/RIOT] 6ee5e7: vtimer: set custom msg_t.type with vtimer_set_msg

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Tue Dec 9 11:12:54 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 6ee5e737f90281553ac5f21bcbbf9e21fd9d791b
      https://github.com/RIOT-OS/RIOT/commit/6ee5e737f90281553ac5f21bcbbf9e21fd9d791b
  Author: Cenk Gündoğan <cnkgndgn at gmail.com>
  Date:   2014-12-09 (Tue, 09 Dec 2014)

  Changed paths:
    M drivers/cc110x_legacy_csma/cc1100_phy.c
    M sys/include/vtimer.h
    M sys/net/network_layer/sixlowpan/border/flowcontrol.c
    M sys/vtimer/vtimer.c
    M tests/vtimer_msg/main.c
    M tests/vtimer_msg_diff/main.c

  Log Message:
  -----------
  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.


  Commit: e850078769da3641c6d43780157e229582d48b66
      https://github.com/RIOT-OS/RIOT/commit/e850078769da3641c6d43780157e229582d48b66
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-12-09 (Tue, 09 Dec 2014)

  Changed paths:
    M drivers/cc110x_legacy_csma/cc1100_phy.c
    M sys/include/vtimer.h
    M sys/net/network_layer/sixlowpan/border/flowcontrol.c
    M sys/vtimer/vtimer.c
    M tests/vtimer_msg/main.c
    M tests/vtimer_msg_diff/main.c

  Log Message:
  -----------
  Merge pull request #2162 from cgundogan/vtimer_set_msg_param_type

vtimer: set custom msg_t.type with vtimer_set_msg


Compare: https://github.com/RIOT-OS/RIOT/compare/934f7b6b3342...e850078769da


More information about the commits mailing list