[riot-commits] [RIOT-OS/RIOT] 97448b: drivers: fix includes in rtc.h for MSP430

Oleg Hahm oleg at hobbykeller.org
Wed Apr 30 10:29:49 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 97448be17e0994ea3f1ae8a7062f7a21b3126237
      https://github.com/RIOT-OS/RIOT/commit/97448be17e0994ea3f1ae8a7062f7a21b3126237
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-04-29 (Tue, 29 Apr 2014)

  Changed paths:
    M drivers/include/rtc.h

  Log Message:
  -----------
  drivers: fix includes in rtc.h for MSP430

The comment and the actual guard in `rtc.h` did not match.
If (as in "implication") the MCU is an MSP, then `sys/time.h` must be
included, to have `time_t`, `struct timeval`, …

Including the header file in any case should be safe, so I dropped the
guard altogether.


  Commit: 66712c0af44a65e7e0c287a54385f0eb4d472053
      https://github.com/RIOT-OS/RIOT/commit/66712c0af44a65e7e0c287a54385f0eb4d472053
  Author: Oleg Hahm <oleg at hobbykeller.org>
  Date:   2014-04-30 (Wed, 30 Apr 2014)

  Changed paths:
    M drivers/include/rtc.h

  Log Message:
  -----------
  Merge pull request #1073 from Kijewski/rtc-sys_time

drivers: fix includes in rtc.h for MSP430


Compare: https://github.com/RIOT-OS/RIOT/compare/f4a994ac8934...66712c0af44a


More information about the commits mailing list