Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
Uploaded following clang format
  • Loading branch information
Gambalunga authored Jan 16, 2024
1 parent fd4c4f7 commit a9894c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RTC_PCF8523.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ uint8_t RTC_PCF8523::readOffsetReg() {

String RTC_PCF8523::getOffsetMode() {
String OffsetMode;
if (bitRead (readOffsetReg(), 7)) {
if (bitRead(readOffsetReg(), 7)) {
OffsetMode = String("PCF8523_OneMinute");
} else {
OffsetMode = String("PCF8523_TwoHours ");
Expand All @@ -322,8 +322,8 @@ String RTC_PCF8523::getOffsetMode() {
/**************************************************************************/
/*!
@brief read the offset register
@details The offset parameter is held in bits 0 to 6 as a signed 7bit integer
bit 6 needs to be copied to bit 7 to convert to a signed 8bit integer
@details The offset parameter is held in bits 0 to 6 as a signed 7bit
integer bit 6 needs to be copied to bit 7 to convert to a signed 8bit integer
@return offset
*/
/**************************************************************************/
Expand Down

0 comments on commit a9894c9

Please sign in to comment.