mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-07 07:23:43 +00:00
fix intermittent source generation problem
This commit is contained in:
parent
99d34a39ce
commit
a39b9465a6
2 changed files with 14 additions and 11 deletions
|
|
@ -134,7 +134,8 @@ void MAX2871::SetCPCurrent(uint8_t mA) {
|
|||
|
||||
bool MAX2871::SetFrequency(uint64_t f) {
|
||||
if (f < 23500000 || f > MaxFreq) {
|
||||
LOG_ERR("Frequency must be between 23.5MHz and 6GHz");
|
||||
LOG_ERR("Frequency must be between 23.5MHz and 6GHz, requested %lu%06luHz", (uint32_t ) (f / 1000000),
|
||||
(uint32_t ) (f % 1000000));
|
||||
return false;
|
||||
}
|
||||
LOG_DEBUG("Setting frequency to %lu%06luHz...", (uint32_t ) (f / 1000000),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue