Sky9x Coprocessor bug fix
This commit is contained in:
@@ -2914,7 +2914,7 @@ void opentxInit(OPENTX_INIT_ARGS)
|
|||||||
btInit();
|
btInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(RTCLOCK)
|
#if defined(RTCLOCK) && !defined(COPROCESSOR)
|
||||||
rtcInit();
|
rtcInit();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -276,5 +276,7 @@ void rtcInit()
|
|||||||
{
|
{
|
||||||
#if defined(REVX)
|
#if defined(REVX)
|
||||||
readRTC();
|
readRTC();
|
||||||
|
#else
|
||||||
|
coprocReadData();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user