Skip to content

Commit 8f300a3

Browse files
committed
Arduino-ci and fixes
1 parent 6b38a58 commit 8f300a3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=uRTCLib
2-
version=6.9.2
2+
version=6.9.3
33
author=Naguissa <naguissa@foroelectro.net>
44
maintainer=Naguissa <naguissa@foroelectro.net>
55
sentence=Really tiny library to basic RTC functionality on Arduino. DS1307, DS3231 and DS3232 RTCs are supported. See https://github.com/Naguissa/uEEPROMLib for EEPROM support. Temperature, Alarms, SQWG, Power lost and RAM support.

src/uRTCLib.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* @see <a href="https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html">https://www.foroelectro.net/librerias-arduino-ide-f29/rtclib-arduino-libreria-simple-y-eficaz-para-rtc-y-t95.html</a>
3131
* @see <a href="mailto:naguissa@foroelectro.net">naguissa@foroelectro.net</a>
3232
* @see <a href="https://github.com/Naguissa/uEEPROMLib">See uEEPROMLib for EEPROM support.</a>
33-
* @version 6.9.2
33+
* @version 6.9.3
3434
*/
3535

3636
#include <Arduino.h>
@@ -86,7 +86,7 @@ bool uRTCLib::refresh() {
8686
uRTCLIB_YIELD
8787

8888
// Adjust requested bytes to selected model:
89-
size_t bytesRequested = 0;
89+
uRTCLIB_SIZE_T bytesRequested = 0;
9090
switch (_model) {
9191
case URTCLIB_MODEL_DS1307:
9292
bytesRequested = 8;

src/uRTCLib.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,9 @@
297297
#endif
298298
#endif
299299

300-
#ifdef DARDUINO_AVR_MEGA2560
300+
#ifdef ARDUINO_ARCH_MEGAAVR
301301
/**
302-
* \brief MEGA2560 uses int instead size_t
302+
* \brief MEGAAVR core uses int instead size_t
303303
*/
304304
#define uRTCLIB_SIZE_T int;
305305
#else

0 commit comments

Comments
 (0)