RTC lib update

This commit is contained in:
Klaus K Wilting 2020-07-29 10:50:40 +02:00
parent 48cdb06c2c
commit ae74b097d4
2 changed files with 4 additions and 4 deletions

View File

@ -17,9 +17,9 @@
;halfile = ttgov2.h ;halfile = ttgov2.h
;halfile = ttgov21old.h ;halfile = ttgov21old.h
;halfile = ttgov21new.h ;halfile = ttgov21new.h
;halfile = ttgofox.h halfile = ttgofox.h
;halfile = ttgobeam.h ;halfile = ttgobeam.h
halfile = ttgobeam10.h ;halfile = ttgobeam10.h
;halfile = fipy.h ;halfile = fipy.h
;halfile = lopy.h ;halfile = lopy.h
;halfile = lopy4.h ;halfile = lopy4.h
@ -80,7 +80,7 @@ lib_deps_sensors =
lib_deps_basic = lib_deps_basic =
ArduinoJson@<6 ArduinoJson@<6
76@>=1.2.4 ; #76 Timezone by Jack Christensen 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 SimpleButton
AXP202X_Library@>=1.1.1 ; AXP202 PMU lib by Lewis He AXP202X_Library@>=1.1.1 ; AXP202 PMU lib by Lewis He
esp32-micro-sdcard esp32-micro-sdcard

View File

@ -13,7 +13,7 @@ uint8_t rtc_init(void) {
if (I2C_MUTEX_LOCK()) { // block i2c bus access if (I2C_MUTEX_LOCK()) { // block i2c bus access
Wire.begin(HAS_RTC); Wire.begin(HAS_RTC);
Rtc.Begin(); Rtc.Begin(MY_DISPLAY_SDA, MY_DISPLAY_SCL);
// configure RTC chip // configure RTC chip
Rtc.Enable32kHzPin(false); Rtc.Enable32kHzPin(false);