periph:rtc: add missing argument for callback

This commit is contained in:
Thomas Eichinger 2014-08-21 22:01:17 +02:00
parent d76ac6ed9f
commit d9b7ee4c6b

View File

@ -68,12 +68,13 @@ int rtc_get_time(struct tm *time);
*
* @param[in] time The value to trigger an alarm when hit.
* @param[in] cb Callback executed when alarm is hit.
* @param[in] arg Argument passed to callback when alarm is hit.
*
* @return 0 for success
* @return -2 invalid `time` parameter
* @return -1 other errors
*/
int rtc_set_alarm(struct tm *time, rtc_alarm_cb_t cb);
int rtc_set_alarm(struct tm *time, rtc_alarm_cb_t cb, void *arg);
/**
* @brief Gets the current alarm setting