Skip to content

Commit 7851b87

Browse files
committed
Reverted the unnecessary rename of voidFuncPtr.
1 parent d42615d commit 7851b87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/RTCZero.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ void RTCZero::disableAlarm()
107107
;
108108
}
109109

110-
void RTCZero::attachInterrupt(RTC_voidFuncPtr callback)
110+
void RTCZero::attachInterrupt(voidFuncPtr callback)
111111
{
112112
RTC_callBack = callback;
113113
}

src/RTCZero.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
#include "Arduino.h"
2727

28-
typedef void(*RTC_voidFuncPtr)(void);
28+
typedef void(*voidFuncPtr)(void);
2929

3030
class RTCZero {
3131
public:
@@ -53,7 +53,7 @@ class RTCZero {
5353
void enableAlarm(Alarm_Match match);
5454
void disableAlarm();
5555

56-
void attachInterrupt(RTC_voidFuncPtr callback);
56+
void attachInterrupt(voidFuncPtr callback);
5757
void detachInterrupt();
5858

5959
/* Get Functions */

0 commit comments

Comments
 (0)