Update readconfig

corrected a bug : is_accel referenced before assignement if no
accelerometer