- Improvements to the chooper driver for the SANS2 chopper
- Fixes to the new counter and motor drivers - Updated Linux makefiles to linux_def
This commit is contained in:
@@ -283,7 +283,7 @@ static int EL737Start(struct __COUNTER *self){
|
||||
|
||||
fixMode(pPriv);
|
||||
if(self->eMode == ePreset){
|
||||
snprintf(pCommand,49,"MP %d\r",(int)nintf(self->fPreset));
|
||||
snprintf(pCommand,49,"MP %d\r",(int)self->fPreset);
|
||||
} else {
|
||||
snprintf(pCommand,49,"TP %.2f\r", self->fPreset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user