Skip to content

Commit

Permalink
RTC lib update
Browse files Browse the repository at this point in the history
  • Loading branch information
Klaus K Wilting committed Jul 29, 2020
1 parent 48cdb06 commit ae74b09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
;halfile = ttgov2.h
;halfile = ttgov21old.h
;halfile = ttgov21new.h
;halfile = ttgofox.h
halfile = ttgofox.h
;halfile = ttgobeam.h
halfile = ttgobeam10.h
;halfile = ttgobeam10.h
;halfile = fipy.h
;halfile = lopy.h
;halfile = lopy4.h
Expand Down Expand Up @@ -80,7 +80,7 @@ lib_deps_sensors =
lib_deps_basic =
ArduinoJson@<6
76@>=1.2.4 ; #76 Timezone by Jack Christensen
274@>=2.3.4 ; #274 RTC by Michael Miller
274@>=2.3.5 ; #274 RTC by Michael Miller
SimpleButton
AXP202X_Library@>=1.1.1 ; AXP202 PMU lib by Lewis He
esp32-micro-sdcard
Expand Down
2 changes: 1 addition & 1 deletion src/rtctime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ uint8_t rtc_init(void) {
if (I2C_MUTEX_LOCK()) { // block i2c bus access

Wire.begin(HAS_RTC);
Rtc.Begin();
Rtc.Begin(MY_DISPLAY_SDA, MY_DISPLAY_SCL);

// configure RTC chip
Rtc.Enable32kHzPin(false);
Expand Down

0 comments on commit ae74b09

Please sign in to comment.