docs
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-03-28 21:49:16 +02:00
parent d09b53f6df
commit 053cfed093
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -35,7 +35,7 @@ ReturnValue_t PapbVcInterface::write(const uint8_t* data, size_t size) {
}
for (size_t idx = 0; idx < size; idx++) {
// This delay is super-important, DO NOT REMOVE!
// Polling the GPIO
// Polling the GPIO too often can mess up the scheduler.
nanosleep(&BETWEEN_POLL_DELAY, &remDelay);
if (pollPapbBusySignal(2) == returnvalue::OK) {
*(vcBaseReg + DATA_REG_OFFSET) = static_cast<uint32_t>(data[idx]);