[riot-commits] [RIOT-OS/RIOT] 73965f: transceiver: fix check for existence

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Fri Aug 22 20:07:48 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 73965f984ef89167fa852e9a8a167e759b550ff9
      https://github.com/RIOT-OS/RIOT/commit/73965f984ef89167fa852e9a8a167e759b550ff9
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-08-22 (Fri, 22 Aug 2014)

  Changed paths:
    M sys/transceiver/transceiver.c

  Log Message:
  -----------
  transceiver: fix check for existence

The transceiver check if it is already running when initializing.
However, this check was done by comparing its pid for >= 0, which is not
sensible anymore since valid PIDs only start at 1.


  Commit: 1d2a10fbc49ea55f1815860e83b5eb45671d2349
      https://github.com/RIOT-OS/RIOT/commit/1d2a10fbc49ea55f1815860e83b5eb45671d2349
  Author: Ludwig Ortmann <ludwig.ortmann at fu-berlin.de>
  Date:   2014-08-22 (Fri, 22 Aug 2014)

  Changed paths:
    M sys/transceiver/transceiver.c

  Log Message:
  -----------
  Merge pull request #1602 from OlegHahm/transceiver_init_pid_check

transceiver: fix check for existence


Compare: https://github.com/RIOT-OS/RIOT/compare/addfaefe8a40...1d2a10fbc49e


More information about the commits mailing list