@@ -303,7 +303,7 @@ void STM32RTC::disableAlarm(Alarm name)
303303 * ALARM_A or ALARM_B if exists
304304 * @retval None
305305 */
306- void STM32RTC::attachInterrupt (voidFuncPtr callback, Alarm name)
306+ void STM32RTC::attachInterrupt (voidFuncPtrParam callback, Alarm name)
307307{
308308 attachInterrupt (callback, nullptr , name);
309309}
@@ -316,7 +316,7 @@ void STM32RTC::attachInterrupt(voidFuncPtr callback, Alarm name)
316316 * ALARM_A or ALARM_B if exists
317317 * @retval None
318318 */
319- void STM32RTC::attachInterrupt (voidFuncPtr callback, void *data, Alarm name)
319+ void STM32RTC::attachInterrupt (voidFuncPtrParam callback, void *data, Alarm name)
320320{
321321 attachAlarmCallback (callback, data, static_cast <alarm_t >(name));
322322}
@@ -338,7 +338,7 @@ void STM32RTC::detachInterrupt(Alarm name)
338338 * @param callback: pointer to the callback
339339 * @retval None
340340 */
341- void STM32RTC::attachSecondsInterrupt (voidFuncPtr callback)
341+ void STM32RTC::attachSecondsInterrupt (voidFuncPtrParam callback)
342342{
343343 attachSecondsIrqCallback (callback);
344344}
@@ -361,7 +361,7 @@ void STM32RTC::detachSecondsInterrupt(void)
361361 * @param callback: pointer to the callback
362362 * @retval None
363363 */
364- void STM32RTC::attachSubSecondsUnderflowInterrupt (voidFuncPtr callback)
364+ void STM32RTC::attachSubSecondsUnderflowInterrupt (voidFuncPtrParam callback)
365365{
366366 attachSubSecondsUnderflowIrqCallback (callback);
367367}
0 commit comments