Skip to content

Commit

Permalink
removed trailing spaces
Browse files Browse the repository at this point in the history
It seems that clang-format is quite picky about trailing spaces in source code
  • Loading branch information
Arnd Zanduino authored and Arnd Zanduino committed Dec 12, 2021
1 parent 7a11580 commit 6e643b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=DS3231M
version=1.0.6
version=1.0.7
author=Arnd <[email protected]>
maintainer=Arnd <[email protected]>
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=*
4 changes: 2 additions & 2 deletions src/DS3231M.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e643b1

Please sign in to comment.