Skip to content

Commit

Permalink
solve intentiation in DS3231.h
Browse files Browse the repository at this point in the history
- correction of bad intentiation
  • Loading branch information
hasenradball authored Oct 18, 2023
1 parent 879f8c5 commit 2e94da7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions DS3231.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,11 @@
class DateTime {
public:
DateTime (uint32_t t = 0);

DateTime (uint16_t year, uint8_t month, uint8_t day,
DateTime (uint16_t year, uint8_t month, uint8_t day,
uint8_t hour = 0, uint8_t min = 0, uint8_t sec = 0, uint8_t wday = 1);
DateTime (const char* date, const char* time);

DateTime (const char* date, const char* time);

uint16_t year() const { return 2000 + yOff; }
uint16_t year() const { return 2000 + yOff; }
uint8_t month() const { return m; }
uint8_t day() const { return d; }
uint8_t hour() const { return hh; }
Expand Down

0 comments on commit 2e94da7

Please sign in to comment.