mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-31 01:09:17 +02:00
again
This commit is contained in:
@@ -137,6 +137,7 @@ static void get_rds_oda_group(RDSEncoder* enc, uint16_t *blocks) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static uint8_t get_rds_ct_group(RDSEncoder* enc, uint16_t *blocks) {
|
static uint8_t get_rds_ct_group(RDSEncoder* enc, uint16_t *blocks) {
|
||||||
|
(void)enc;
|
||||||
static uint8_t latest_minutes;
|
static uint8_t latest_minutes;
|
||||||
struct tm *utc, *local_time;
|
struct tm *utc, *local_time;
|
||||||
time_t now;
|
time_t now;
|
||||||
@@ -401,7 +402,7 @@ void init_rds_encoder(RDSEncoder* enc) {
|
|||||||
enc->state[enc->program].rt_ab = 1;
|
enc->state[enc->program].rt_ab = 1;
|
||||||
enc->state[enc->program].ptyn_ab = 1;
|
enc->state[enc->program].ptyn_ab = 1;
|
||||||
|
|
||||||
init_rtplus(GROUP_11A);
|
init_rtplus(enc, GROUP_11A);
|
||||||
|
|
||||||
if(fileExists("~/.rdsEncoder")) {
|
if(fileExists("~/.rdsEncoder")) {
|
||||||
loadFromFile("~/.rdsEncoder", enc);
|
loadFromFile("~/.rdsEncoder", enc);
|
||||||
|
|||||||
Reference in New Issue
Block a user