new arbitration delay factor and range, corrected unit

This commit is contained in:
John
2021-11-28 16:03:00 +01:00
parent 4ecdbea633
commit a5a9b2cf4c
+2 -2
View File
@@ -895,8 +895,8 @@ void readSettings(int fd) {
}
uint16_t arbitrationDelay = configData[3]&0x0f;
std::cout << "Arbitration delay: ";
if (arbitrationDelay==0x0f) {
std::cout << "100 us (default)" << std::endl;
if (arbitrationDelay==0x3f) {
std::cout << "200 us (default)" << std::endl;
} else {
arbitrationDelay *= 10; // steps of 10us
std::cout << std::dec << static_cast<unsigned>(arbitrationDelay) << " us" << std::endl;