OSDN Git Service

[Menu] Fix CNR/Stereo/FD threshold bugs.
[openi2cradio/OpenI2CRadio.git] / radio_getstat.c
index c0088a5..954a26e 100644 (file)
@@ -66,12 +66,12 @@ void update_status(void)
         prevolume = akc6955_get_prevolume();
         if(fm != 0){
             fmfreq = akc6955_get_freq();
-            fmband = akc6955_get_fmband();
+            akc6955_get_fmband(fmband);
             stereoflag = akc6955_get_stereo();
             akc6955_get_fmbandwidth(fmbandwidth);
         } else {
             amfreq = akc6955_get_freq();
-            amband = akc6955_get_amband();
+            akc6955_get_amband(amband);
             c.byte = akc6955_readcmd(AKC6955_CNR_AM);
             if(c.b7) {
                 am_mode3k = 0xff;