Show
Ignore:
Timestamp:
09/17/10 14:35:13 (14 years ago)
Author:
smidl
Message:

fixes ob ProdBM

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/pmsm.h

    r1184 r1192  
    114114                set_parameters ( params["Rs"], params["Ls"], 125e-6, params["Fmag"], \ 
    115115                         params["kp"], params["p"], params["J"], 0.0); 
    116                 int comp; 
     116                int comp=0; 
    117117                if (UI::get(comp,root,"compensate",UI::optional)){compensate=(comp==1);} 
    118                 int cuto; 
     118                int cuto=0; 
    119119                if (UI::get(cuto,root,"cutoff",UI::optional)){cutoff=(cuto==1);} 
    120120        };