mirror of
https://github.com/pret/colosseum-mb.git
synced 2026-04-25 15:49:12 -05:00
21 lines
560 B
C
21 lines
560 B
C
#ifndef GUARD_BERRY_FIX_H
|
|
#define GUARD_BERRY_FIX_H
|
|
|
|
#define RTC_INIT_ERROR 0x0001
|
|
#define RTC_INIT_WARNING 0x0002
|
|
|
|
#define RTC_ERR_12HOUR_CLOCK 0x0010
|
|
#define RTC_ERR_POWER_FAILURE 0x0020
|
|
#define RTC_ERR_INVALID_YEAR 0x0040
|
|
#define RTC_ERR_INVALID_MONTH 0x0080
|
|
#define RTC_ERR_INVALID_DAY 0x0100
|
|
#define RTC_ERR_INVALID_HOUR 0x0200
|
|
#define RTC_ERR_INVALID_MINUTE 0x0400
|
|
#define RTC_ERR_INVALID_SECOND 0x0800
|
|
|
|
#define RTC_ERR_FLAG_MASK 0x0FF0
|
|
|
|
void BerryFix(u32 * state, void * unused1, u32 unused2);
|
|
|
|
#endif // GUARD_BERRY_FIX_H
|