mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-11-02 07:17:42 +00:00
Fix broadcasting messages and revert Playback_Status reports to broadcast
This commit is contained in:
+5
-2
@@ -82,8 +82,11 @@ public:
|
||||
Error::Send send(T bits, with_ack_t /*tag*/, bool expect_ack) {
|
||||
send<N>(bits, with_parity);
|
||||
|
||||
if (expect_ack && !read_ACK())
|
||||
return Send::NAK;
|
||||
if (expect_ack) {
|
||||
if (!read_ACK())
|
||||
return Send::NAK;
|
||||
} else
|
||||
sendbits<1>(1U); // still needs to fill the ack bit slot
|
||||
|
||||
return Send{0};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user