Skip to content

Commit ef80c63

Browse files
committed
[cru] Adjust CRU serial number parsing
1 parent a387e0f commit ef80c63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cru/CruBar.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ boost::optional<int32_t> CruBar::getSerialNumber()
277277
uint32_t serial = readRegister(Cru::Registers::SERIAL_NUMBER.index);
278278
if (serial == 0x0) { // Try to populate the serial register in case it's empty
279279
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
280+
std::this_thread::sleep_for(40ms); // Wait some time for the I2C calls
281281
serial = readRegister(Cru::Registers::SERIAL_NUMBER.index);
282282
}
283283

0 commit comments

Comments
 (0)