[X9D] RTC. Tx Setup cosmetics

This commit is contained in:
bsongis
2013-01-11 11:27:11 +00:00
parent a4ea524748
commit ca617d8094
18 changed files with 159 additions and 641 deletions
+1 -5
View File
@@ -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() ;
+1 -1
View File
@@ -55,7 +55,7 @@ void rtc_settime(struct gtm * t)
write_coprocessor( (uint8_t *) &I2CTime, 8 ) ;
}
void rtc_init()
void rtcInit()
{
read_coprocessor();
}