Skip to content

Commit 6ff0aac

Browse files
committed
Ensure all files are properly terminated
Since we use Unix text format, all lines, including the last one, should be terminated by ASCII LF.
1 parent 3ae553e commit 6ff0aac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/RTC_DS1307.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@ uint8_t RTC_DS1307::readnvram(uint8_t address) {
131131
/**************************************************************************/
132132
void RTC_DS1307::writenvram(uint8_t address, uint8_t data) {
133133
writenvram(address, &data, 1);
134-
}
134+
}

src/RTC_Micros.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@ DateTime RTC_Micros::now() {
3030
lastMicros += elapsedSeconds * microsPerSecond;
3131
lastUnix += elapsedSeconds;
3232
return lastUnix;
33-
}
33+
}

src/RTC_Millis.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ DateTime RTC_Millis::now() {
2424
lastMillis += elapsedSeconds * 1000;
2525
lastUnix += elapsedSeconds;
2626
return lastUnix;
27-
}
27+
}

src/RTC_PCF8523.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,4 +289,4 @@ void RTC_PCF8523::deconfigureAllTimers() {
289289
/**************************************************************************/
290290
void RTC_PCF8523::calibrate(Pcf8523OffsetMode mode, int8_t offset) {
291291
write_register(PCF8523_OFFSET, ((uint8_t)offset & 0x7F) | mode);
292-
}
292+
}

0 commit comments

Comments
 (0)