mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
Correctly respond to button actions (CMD_SW state report)
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ int main() {
|
||||
}
|
||||
} else if (enqueueStatus) {
|
||||
AVCLAN_frame_t *status = AVCLAN_getStatusFrame();
|
||||
AVCLAN_generateStatus(status);
|
||||
AVCLAN_generateStatus(status, true, dev_STATUS);
|
||||
if (RFrame_t *resp = (RFrame_t *)popQueue(&rcache)) {
|
||||
*resp = (RFrame_t){.r = r_Handled, .frame = status};
|
||||
err = pushQueue(&outgoing, resp);
|
||||
|
||||
Reference in New Issue
Block a user