Changeset 332


Ignore:
Timestamp:
Nov 22, 2011 10:04:49 PM (5 years ago)
Author:
df9dq
Message:

Firmware: Beseitigt Fehler bei Frequenzeinstellung: "Smoothtune"-Parameter für Si570 falsch abgespeichert.

Location:
trunk/Software/LPC/fifisdr/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Software/LPC/fifisdr/src/lpcusb/softrock.c

    r329 r332  
    177177 
    178178        case 0x35:  /* Set smooth tune */ 
    179             g_params.smoothtune = pdData[0]; 
     179            g_params.smoothtune = pwData[0]; 
    180180            length = 0; 
    181181            new_params = true; 
  • trunk/Software/LPC/fifisdr/src/params.c

    r323 r332  
    117117    if (g_params.virtual_vco_factor == 0xFFFFFFFF) 
    118118        g_params.virtual_vco_factor = 4; 
     119 
     120 
     121    /* Workaround for a bug that may have corrupted the "smoothtune" value. */ 
     122    g_params.smoothtune &= 0x0000FFFF; 
    119123} 
    120124 
Note: See TracChangeset for help on using the changeset viewer.