application: minor, fix documentation
This commit is contained in:
parent
b8cc7d7591
commit
d9229026e5
|
@ -1,4 +1,4 @@
|
||||||
/** STM32F1 application example
|
/** firmware for ThermoHybaid MBS 0.2G MBLK002 thermo-cycler replacement controller board
|
||||||
* @file
|
* @file
|
||||||
* @author King Kévin <kingkevin@cuvoodoo.info>
|
* @author King Kévin <kingkevin@cuvoodoo.info>
|
||||||
* @copyright SPDX-License-Identifier: GPL-3.0-or-later
|
* @copyright SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
@ -51,13 +51,6 @@
|
||||||
*/
|
*/
|
||||||
#define RTC_TICKS_SECOND 8
|
#define RTC_TICKS_SECOND 8
|
||||||
|
|
||||||
#if defined(RTC_DATE_TIME) && RTC_DATE_TIME
|
|
||||||
/** the start time from which to RTC ticks count
|
|
||||||
* @note this allows the 32-bit value to reach further in time, particularly when there are several ticks per second
|
|
||||||
*/
|
|
||||||
const time_t rtc_offset = 1577833200; // We 1. Jan 00:00:00 CET 2020
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/** RTC time when device is started */
|
/** RTC time when device is started */
|
||||||
static time_t time_start = 0;
|
static time_t time_start = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue