[X9D] RTC. Tx Setup cosmetics
This commit is contained in:
@@ -372,11 +372,7 @@ void read_volume()
|
||||
|
||||
void read_coprocessor(bool onlytemp)
|
||||
{
|
||||
if (onlytemp) {
|
||||
get_onlytemp=true;
|
||||
} else {
|
||||
get_onlytemp=false;
|
||||
}
|
||||
get_onlytemp = onlytemp;
|
||||
CoProc_read_pending = 1 ;
|
||||
__disable_irq() ;
|
||||
i2c_check_for_request() ;
|
||||
|
||||
@@ -55,7 +55,7 @@ void rtc_settime(struct gtm * t)
|
||||
write_coprocessor( (uint8_t *) &I2CTime, 8 ) ;
|
||||
}
|
||||
|
||||
void rtc_init()
|
||||
void rtcInit()
|
||||
{
|
||||
read_coprocessor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user