new arbitration delay factor and range, corrected unit
This commit is contained in:
@@ -895,8 +895,8 @@ void readSettings(int fd) {
|
|||||||
}
|
}
|
||||||
uint16_t arbitrationDelay = configData[3]&0x0f;
|
uint16_t arbitrationDelay = configData[3]&0x0f;
|
||||||
std::cout << "Arbitration delay: ";
|
std::cout << "Arbitration delay: ";
|
||||||
if (arbitrationDelay==0x0f) {
|
if (arbitrationDelay==0x3f) {
|
||||||
std::cout << "100 us (default)" << std::endl;
|
std::cout << "200 us (default)" << std::endl;
|
||||||
} else {
|
} else {
|
||||||
arbitrationDelay *= 10; // steps of 10us
|
arbitrationDelay *= 10; // steps of 10us
|
||||||
std::cout << std::dec << static_cast<unsigned>(arbitrationDelay) << " us" << std::endl;
|
std::cout << std::dec << static_cast<unsigned>(arbitrationDelay) << " us" << std::endl;
|
||||||
|
|||||||
Reference in New Issue
Block a user