kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
ingore commas in pasted frequencies
rodzic
fbbafddd3d
commit
0e1ab29b5d
|
@ -70,6 +70,9 @@ namespace hrfreq {
|
|||
// If isn't numeric, skip it
|
||||
if (!isNumeric(c)) { continue; }
|
||||
|
||||
// If it's a comma, skip it for now. This enforces a dot as a decimal point
|
||||
if (c == ',') { continue; }
|
||||
|
||||
// Add the character to the numeric string
|
||||
numeric += c;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue