[riot-commits] [RIOT-OS/RIOT] c46bc6: drivers/dht: optimized DHT driver

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Mon Feb 29 16:23:32 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: c46bc68ac59ec55e4f4303533b4abb2ceb51c16f
      https://github.com/RIOT-OS/RIOT/commit/c46bc68ac59ec55e4f4303533b4abb2ceb51c16f
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M drivers/Makefile.dep
    M drivers/dht/dht.c
    A drivers/dht/include/dht_params.h
    M drivers/include/dht.h

  Log Message:
  -----------
  drivers/dht: optimized DHT driver

- added default dht_params.h file
- added dht_auto_init(void) function
- changed init function to init(dev, params)
- s/gpio/pin/ in device descriptor
- moved FEATURE_REQUIRED to drivers/Makefile.dep


  Commit: 8048c7d14ea592cb384c00234a9eecec722f99f9
      https://github.com/RIOT-OS/RIOT/commit/8048c7d14ea592cb384c00234a9eecec722f99f9
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M tests/driver_dht/Makefile
    M tests/driver_dht/main.c

  Log Message:
  -----------
  tests/driver_dht: cleanup Makefile and use auto_init


  Commit: c5a0589332b837c80f5dee68887eab77f7f6f483
      https://github.com/RIOT-OS/RIOT/commit/c5a0589332b837c80f5dee68887eab77f7f6f483
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M sys/auto_init/auto_init.c

  Log Message:
  -----------
  sys/auto_init: added intialization of DHT devices


  Commit: f5f793c3f24e758f9e1238919df1922f5cf4564b
      https://github.com/RIOT-OS/RIOT/commit/f5f793c3f24e758f9e1238919df1922f5cf4564b
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M drivers/dht/dht.c
    M drivers/dht/include/dht_params.h
    M drivers/include/dht.h

  Log Message:
  -----------
  drivers/dht: made pullup configurable


  Commit: 044cb3c2f9f60c95abfb39ec67fcb7786a821601
      https://github.com/RIOT-OS/RIOT/commit/044cb3c2f9f60c95abfb39ec67fcb7786a821601
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M drivers/dht/dht.c

  Log Message:
  -----------
  drivers/dht: optimized driver code

- simplyfied pulse parsing code
- inlined one-time called functions
- some style fixes


  Commit: 6fca96c668a77cb28a5797e797faea914e88ad75
      https://github.com/RIOT-OS/RIOT/commit/6fca96c668a77cb28a5797e797faea914e88ad75
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M drivers/dht/dht.c
    M drivers/include/dht.h

  Log Message:
  -----------
  drivers/dht: simplified interface


  Commit: edce26bb156a321db5a544f59709620805e9ccff
      https://github.com/RIOT-OS/RIOT/commit/edce26bb156a321db5a544f59709620805e9ccff
  Author: Hauke Petersen <hauke.petersen at fu-berlin.de>
  Date:   2016-02-20 (Sat, 20 Feb 2016)

  Changed paths:
    M tests/driver_dht/main.c

  Log Message:
  -----------
  tests/driver_dht: adjusted to interface changes


  Commit: a8b6fba69c73e5b5fb356070fd964ba3962e3521
      https://github.com/RIOT-OS/RIOT/commit/a8b6fba69c73e5b5fb356070fd964ba3962e3521
  Author: Peter Kietzmann <peter.kietzmann at haw-hamburg.de>
  Date:   2016-02-29 (Mon, 29 Feb 2016)

  Changed paths:
    M drivers/Makefile.dep
    M drivers/dht/dht.c
    A drivers/dht/include/dht_params.h
    M drivers/include/dht.h
    M sys/auto_init/auto_init.c
    M tests/driver_dht/Makefile
    M tests/driver_dht/main.c

  Log Message:
  -----------
  Merge pull request #4664 from haukepetersen/opt_driver_dhtinit

drivers/dht: numerous improvements


Compare: https://github.com/RIOT-OS/RIOT/compare/3df238640d94...a8b6fba69c73


More information about the commits mailing list