File tree Expand file tree Collapse file tree
ports/broadcom/common-hal/rtc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232#include "shared/timeutils/timeutils.h"
3333#include "shared-bindings/rtc/__init__.h"
3434#include "shared-bindings/rtc/RTC.h"
35- #include "common-hal/rtc/RTC.h"
3635#include "supervisor/port.h"
3736#include "supervisor/shared/translate/translate.h"
3837
39- void rtc_init (void ) {
40- }
41-
4238// This is the time in seconds since 2000 that the RTC was started.
4339// TODO: Change the offset to ticks so that it can be a subsecond adjustment.
4440static uint32_t rtc_offset = 0 ;
Original file line number Diff line number Diff line change 2525 * THE SOFTWARE.
2626 */
2727
28- #ifndef MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
29- #define MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
28+ #ifndef MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
29+ #define MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
3030
31- extern void rtc_init (void );
3231extern void rtc_reset (void );
3332
34- #endif // MICROPY_INCLUDED_MIMXRT10XX_COMMON_HAL_RTC_RTC_H
33+ #endif // MICROPY_INCLUDED_BROADCOM_COMMON_HAL_RTC_RTC_H
You can’t perform that action at this time.
0 commit comments