Skip to content

Commit 926e1af

Browse files
committed
Comments in system.h
1 parent 2a332c7 commit 926e1af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

keywords.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ getCursorY KEYWORD2
5656
touchInArea KEYWORD2
5757
setFrontlight KEYWORD2
5858
frontlight KEYWORD2
59+
setTextColor KEYWORD2
5960

6061
# Instances (KEYWORD2)
6162

src/include/System.h

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
* For more info about the product, please check: www.inkplate.io
99
*
1010
* This code is released under the GNU Lesser General Public
11-
*License v3.0: https://www.gnu.org/licenses/lgpl-3.0.en.html Please review the
12-
*LICENSE file included with this example. If you have any questions about
13-
*licensing, please contact [email protected] Distributed as-is; no
14-
*warranty is given.
11+
* License v3.0: https://www.gnu.org/licenses/lgpl-3.0.en.html Please review the
12+
* LICENSE file included with this example. If you have any questions about
13+
* licensing, please contact [email protected] Distributed as-is; no
14+
* warranty is given.
1515
*
1616
* @authors @ e-radionica.com
1717
***************************************************/
@@ -42,7 +42,7 @@
4242
#define RTC_DAY_ADDR 0x07
4343
#define RTC_WDAY_ADDR 0x08
4444
#define RTC_MONTH_ADDR 0x09
45-
// years 0-99; calculate real year = 1970 + RCC reg year
45+
// years 0-99; calculate real year = 2000 + RCC reg year
4646
#define RTC_YEAR_ADDR 0x0A
4747
// registar overview - alarm reg
4848
#define RTC_SECOND_ALARM 0x0B
@@ -174,7 +174,6 @@ class System : public Esp,
174174
uint8_t _panelOn = 0;
175175
int16_t _sdCardOk = 0;
176176
/* time variables*/
177-
178177
uint8_t rtcHour;
179178
uint8_t rtcMinute;
180179
uint8_t rtcSecond;

0 commit comments

Comments
 (0)