Reduce RTX and Platform verbosity on Linux, add missing newline in RTX
This commit is contained in:
parent
3ddf7f3557
commit
845d0b8a7d
|
|
@ -43,7 +43,7 @@ void radio_setBandwidth(const enum bandwidth bw)
|
||||||
void radio_setOpmode(const enum opmode mode)
|
void radio_setOpmode(const enum opmode mode)
|
||||||
{
|
{
|
||||||
char *mod = (mode == FM) ? "FM" : "DMR";
|
char *mod = (mode == FM) ? "FM" : "DMR";
|
||||||
printf("radio_linux: setting opmode to %s", mod);
|
printf("radio_linux: setting opmode to %s\n", mod);
|
||||||
}
|
}
|
||||||
|
|
||||||
void radio_setVcoFrequency(const freq_t frequency, const bool isTransmitting)
|
void radio_setVcoFrequency(const freq_t frequency, const bool isTransmitting)
|
||||||
|
|
@ -88,6 +88,7 @@ void radio_updateCalibrationParams(const rtxStatus_t* rtxCfg)
|
||||||
|
|
||||||
float radio_getRssi(const freq_t rxFreq)
|
float radio_getRssi(const freq_t rxFreq)
|
||||||
{
|
{
|
||||||
printf("radio_linux: requested RSSI at freq %d, returning -100dBm\n", rxFreq);
|
// Commented to reduce verbosity on Linux
|
||||||
|
//printf("radio_linux: requested RSSI at freq %d, returning -100dBm\n", rxFreq);
|
||||||
return -100.0f;
|
return -100.0f;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -91,14 +91,15 @@ void platform_ledOn(led_t led)
|
||||||
str = "WHITE";
|
str = "WHITE";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Commented to reduce verbosity on Linux
|
||||||
printf("platform_ledOn(%s)\n", str);
|
//printf("platform_ledOn(%s)\n", str);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void platform_ledOff(led_t led)
|
void platform_ledOff(led_t led)
|
||||||
{
|
{
|
||||||
printf("platform_ledOff()\n");
|
// Commented to reduce verbosity on Linux
|
||||||
|
//printf("platform_ledOff()\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue