From 6e643b16fd39560e7ba9d88c5d0ed247c7751f7d Mon Sep 17 00:00:00 2001 From: Arnd Zanduino Date: Sun, 12 Dec 2021 11:20:20 +0100 Subject: [PATCH] removed trailing spaces It seems that clang-format is quite picky about trailing spaces in source code --- library.properties | 6 +++--- src/DS3231M.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library.properties b/library.properties index 3dfc1b1..ff420ae 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ name=DS3231M -version=1.0.6 +version=1.0.7 author=Arnd maintainer=Arnd -sentence=Arduino library to use the Maxim Integrated DS3231M RTC (Real-Time-Clock) -paragraph=Allow control and reading of the Maxim Integrated DS3231M RTC (Real-Time-Clock) +sentence=Arduino library to use the Maxim Integrated DS3231 and DS3231M RTC (Real-Time-Clock) +paragraph=Allow control and reading of the Maxim Integrated DS3231/DS3231M RTC (Real-Time-Clock) category=Device Control url=https://github.com/Zanduino/DS3231M architectures=* diff --git a/src/DS3231M.cpp b/src/DS3231M.cpp index 9f24aa7..dc47fca 100644 --- a/src/DS3231M.cpp +++ b/src/DS3231M.cpp @@ -525,14 +525,14 @@ void DS3231M_Class::pinSquareWave() { the RS1 and RS2 bits to "0" so that the default is 1Hz for the DS3231. These bits are ignored by the DS3231M */ - writeByte(DS3231M_CONTROL, readByte(DS3231M_CONTROL) & ~B00111000); + writeByte(DS3231M_CONTROL, readByte(DS3231M_CONTROL) & ~B00111000); } // of method pinSquareWave() void DS3231M_Class::pinSquareWave(const uint8_t rate) { /*! @brief Sets the control register flag to make the INT/SQW Pin produce a square signal @detail This call produces a 1Hz signal on the DS3231M, but on the DS3231 the rate parameter is used to set bits RS1 and RS2 to the appropriate frequency. allows the frequency to - be set, so ensure compatibility by setting the RS1 and RS2 bits to "0" so that the + be set, so ensure compatibility by setting the RS1 and RS2 bits to "0" so that the default is 1Hz for the DS3231. B00 = 1Hz, B01 = 1.024kHz, B10 = 4.096kHz, and B11 = 8.192kHz @param[in] rate Code for Hz rate