[riot-commits] [RIOT-OS/RIOT] 5265ed: drivers/adxk345: include copy of params in dev str...

Sebastian Meiling s at mlng.net
Mon Jan 7 16:38:54 CET 2019


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 5265edcd26fd5f1510e3163500c93e3e652fdc88
      https://github.com/RIOT-OS/RIOT/commit/5265edcd26fd5f1510e3163500c93e3e652fdc88
  Author: Kees Bakker <kees at sodaq.com>
  Date:   2019-01-06 (Sun, 06 Jan 2019)

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

  Log Message:
  -----------
  drivers/adxk345: include copy of params in dev struct

This follows the usual convention of having the whole params in the device
struct instead of a pointer-to. This also eliminates the need to cast a
const to a non-const pointer in the init function.


  Commit: a57b9708587a8a8fc7e1d056e43bdde2e2296d3d
      https://github.com/RIOT-OS/RIOT/commit/a57b9708587a8a8fc7e1d056e43bdde2e2296d3d
  Author: Sebastian Meiling <s at mlng.net>
  Date:   2019-01-07 (Mon, 07 Jan 2019)

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

  Log Message:
  -----------
  Merge pull request #10713 from keestux/eliminate-cast-adxl345

drivers/adxk345: include copy of params in dev struct


Compare: https://github.com/RIOT-OS/RIOT/compare/859ba1a71f57...a57b9708587a
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the commits mailing list