Skip to content

Commit

Permalink
correction of typos after second spell ceck
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball committed Dec 5, 2023
1 parent 3f5c47c commit 7c8a344
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void setup () {
//auto tic{micros()};
DateTime datetime = myRTC.now();
//auto toc {micros()};
//Serial.print("\n\nDateTime Class instatiation duration: ");
//Serial.print("\n\nDateTime Class instantiation duration: ");
//Serial.print(toc-tic);
//Serial.println(" µs");

Expand Down
4 changes: 2 additions & 2 deletions src/DS3231-RTC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void DateTime::set_timstamps() {
* @param buffer buffer for time string
* @param buffersize size of buffer
* @param formatSpec define format see strftime
* @return size_t lenth of used buffer
* @return size_t length of used buffer
*/
size_t DateTime::strf_DateTime(char *buffer, size_t buffersize, const char *formatSpec) {
size_t len {strftime(buffer, buffersize, formatSpec, &_tm)};
Expand Down Expand Up @@ -180,7 +180,7 @@ DateTime RTClib::now(TwoWire & _Wire) {
int16_t yday = calcYearDay(year, month, day);
int16_t dst = -1;

// REMARK: add DST calculation if needed, but therfore timezone info is needed!
// REMARK: add DST calculation if needed, but therefore timezone info is needed!
// use the complete set also yearday and dst for having a complete struct tm
return DateTime{year, month, day, hour, min, sec, wday, yday, dst};
}
Expand Down
2 changes: 1 addition & 1 deletion src/DS3231-RTC.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ class DS3231 {
* 1 0 0 0 Alarm when DoW, hour, min match
*
* Note: byte AlarmBits is not explicitly cleared for the getAXTime methods to
* support sequential retreival of both alarms with the same byte AlarmBits.
* support sequential retrieval of both alarms with the same byte AlarmBits.
* Use the flag bool clearAlarmBits=True to explicitly clear byte AlarmBits on
* call to getAXTime.
*/
Expand Down

0 comments on commit 7c8a344

Please sign in to comment.