[v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code

This commit is contained in:
Dr-Noob
2020-11-24 12:28:41 +01:00
parent 220dd02abd
commit 8645b54b58
8 changed files with 217 additions and 249 deletions

View File

@@ -157,7 +157,7 @@ char* get_str_freq(struct frequency* freq) {
else if(freq->max >= 1000)
snprintf(string,size,"%.2f"STRING_GIGAHERZ,(float)(freq->max)/1000);
else
snprintf(string,size,"%lld"STRING_MEGAHERZ,freq->max);
snprintf(string,size,"%ld"STRING_MEGAHERZ,freq->max);
return string;
}