No fix yet
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user