Skip to content

Commit a2279ed

Browse files
committed
Update RTC.h
1 parent 38d3a2a commit a2279ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/RTC/src/RTC.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ class APM3_RTC
1111
void getTime(); //Query the RTC for the current time/date
1212
uint32_t getEpoch(); //Return the current RTC time/date as UNIX Epoch time
1313

14-
void setTime(uint8_t hund, uint8_t sec, uint8_t min, uint8_t hour, uint8_t dayOfMonth, uint8_t month, uint16_t year); //Set current time to provided hundredths/seconds/etc
14+
void setTime(uint8_t hour, uint8_t min, uint8_t sec, uint8_t hund,
15+
uint8_t dayOfMonth, uint8_t month, uint16_t year); //Set current time to provided hundredths/seconds/etc
1516
void setToCompilerTime(); //Set to time when sketch was compiled
1617
void setEpoch(uint32_t ts); //Set current time to provided UNIX Epoch time
1718

0 commit comments

Comments
 (0)