Font updates, i2s mod, add extra space in radiotext ticker
This commit is contained in:
@@ -706,10 +706,12 @@ void setup() {
|
|||||||
radio.setVolume(VolSet);
|
radio.setVolume(VolSet);
|
||||||
radio.setOffset(LevelOffset);
|
radio.setOffset(LevelOffset);
|
||||||
radio.setAMOffset(AMLevelOffset);
|
radio.setAMOffset(AMLevelOffset);
|
||||||
|
|
||||||
if (band > BAND_GAP) {
|
if (band > BAND_GAP) {
|
||||||
radio.setAMCoChannel(amcodect, amcodectcount);
|
radio.setAMCoChannel(amcodect, amcodectcount);
|
||||||
radio.setAMAttenuation(amrfagc);
|
radio.setAMAttenuation(amrfagc);
|
||||||
}
|
}
|
||||||
|
|
||||||
radio.setStereoLevel(StereoLevel);
|
radio.setStereoLevel(StereoLevel);
|
||||||
radio.setHighCutLevel(HighCutLevel);
|
radio.setHighCutLevel(HighCutLevel);
|
||||||
radio.setHighCutOffset(HighCutOffset);
|
radio.setHighCutOffset(HighCutOffset);
|
||||||
|
|||||||
+3982
-4046
File diff suppressed because it is too large
Load Diff
+4489
-4458
File diff suppressed because it is too large
Load Diff
@@ -31,7 +31,9 @@ const unsigned char tuner_init_tab[] PROGMEM = {
|
|||||||
7, 0x20, 0x4B, 0x01, 0x00, 0x00, 0x0F, 0xA0,
|
7, 0x20, 0x4B, 0x01, 0x00, 0x00, 0x0F, 0xA0,
|
||||||
5, 0x20, 0x56, 0x01, 0x03, 0x84,
|
5, 0x20, 0x56, 0x01, 0x03, 0x84,
|
||||||
7, 0x30, 0x15, 0x01, 0x00, 0x80, 0x00, 0x01,
|
7, 0x30, 0x15, 0x01, 0x00, 0x80, 0x00, 0x01,
|
||||||
13, 0x30, 0x16, 0x01, 0x00, 0x20, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x12, 0xc0
|
13, 0x30, 0x16, 0x01, 0x00, 0x20, 0x00, 0x01, 0x00, 0x10, 0x00, 0x00, 0x12, 0xc0,
|
||||||
|
13, 0x30, 0x16, 0x01, 0x00, 0x21, 0x00, 0x02, 0x00, 0x20, 0x01, 0x00, 0x12, 0xC0,
|
||||||
|
7, 0x30, 0x0D, 0x01, 0x00, 0x11, 0x00, 0xF0
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned char tuner_init_tab4000[] PROGMEM = {
|
const unsigned char tuner_init_tab4000[] PROGMEM = {
|
||||||
@@ -116,7 +118,7 @@ void Tuner_Reset(void) {
|
|||||||
Wire.write(0x01);
|
Wire.write(0x01);
|
||||||
Wire.write(0x5a);
|
Wire.write(0x5a);
|
||||||
Wire.write(0x5a);
|
Wire.write(0x5a);
|
||||||
Wire.endTransmission();
|
Wire.endTransmission();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Tuner_Patch(byte TEF) {
|
void Tuner_Patch(byte TEF) {
|
||||||
|
|||||||
+1
-1
@@ -699,7 +699,7 @@ void showRadioText() {
|
|||||||
if (!screenmute) {
|
if (!screenmute) {
|
||||||
if (radio.rds.hasRT && radio.rds.stationText.length() > 0) {
|
if (radio.rds.hasRT && radio.rds.stationText.length() > 0) {
|
||||||
if (String(radio.rds.stationText + radio.rds.stationText32).length() != Radiotextlengthold) {
|
if (String(radio.rds.stationText + radio.rds.stationText32).length() != Radiotextlengthold) {
|
||||||
RadiotextWidth = String(radio.rds.stationText + " " + radio.rds.stationText32).length() * charwidth;
|
RadiotextWidth = (String(radio.rds.stationText + " " + radio.rds.stationText32).length() * charwidth) + 3 * charwidth;
|
||||||
Radiotextlengthold = String(radio.rds.stationText + radio.rds.stationText32).length();
|
Radiotextlengthold = String(radio.rds.stationText + radio.rds.stationText32).length();
|
||||||
}
|
}
|
||||||
if (advancedRDS && radio.rds.stationText.length() < 20) {
|
if (advancedRDS && radio.rds.stationText.length() < 20) {
|
||||||
|
|||||||
Reference in New Issue
Block a user