fix to long long int some variables and dio resistor termination disable operation in configuration file