Updating loaders and fixing transfer

This commit is contained in:
Rodrigo Alfonso 2025-02-17 09:39:46 -03:00
parent 7b6071116a
commit 948bbef979
3 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,6 @@ inline void acknowledgeSerialInterrupt() {
// ---
bool send(u16 data, CancelCallback cancel) {
setData(data);
while (!didSerialInterruptOccur()) {
if (cancel())
return false;
@ -81,6 +79,7 @@ bool send(u16 data, CancelCallback cancel) {
acknowledgeSerialInterrupt();
if (assignedPlayerId() != 1)
return false;
setData(data);
return true;
}