No fix yet

This commit is contained in:
2024-06-07 13:24:36 +02:00
parent 7b5e5df952
commit 6b05cc71f6
9 changed files with 37 additions and 11 deletions

View File

@@ -18,6 +18,7 @@ namespace JabyEngine {
extern State current_state;
extern uint8_t cmd_interrupt_bit;
extern uint8_t last_send_cmd;
struct Command {
struct Internal {
@@ -48,7 +49,9 @@ namespace JabyEngine {
cmd_interrupt_bit = bit::set(cmd_interrupt_bit, cmd.complete_irq);
((parameter_fifo.write(CD_IO::ParameterFifo{args})),...);
cmd_fifo.write(CD_IO::CommandFifo {cmd.id});
cmd_fifo.write(CD_IO::CommandFifo{cmd.id});
last_send_cmd = cmd.id;
}
};