We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a387e0f commit ef80c63Copy full SHA for ef80c63
src/Cru/CruBar.cxx
@@ -277,7 +277,7 @@ boost::optional<int32_t> CruBar::getSerialNumber()
277
uint32_t serial = readRegister(Cru::Registers::SERIAL_NUMBER.index);
278
if (serial == 0x0) { // Try to populate the serial register in case it's empty
279
writeRegister(Cru::Registers::SERIAL_NUMBER_CTRL.index, Cru::Registers::SERIAL_NUMBER_TRG);
280
- std::this_thread::sleep_for(5ms); // Wait some time for the I2C calls
+ std::this_thread::sleep_for(40ms); // Wait some time for the I2C calls
281
serial = readRegister(Cru::Registers::SERIAL_NUMBER.index);
282
}
283
0 commit comments