mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-23 21:29:28 +00:00
mesh: implement EnaParityCheck and DisParityCheck commands.
This commit is contained in:
parent
19ecc4f945
commit
8d6f77ea71
@ -219,6 +219,12 @@ void MeshController::perform_command(const uint8_t cmd) {
|
||||
this->int_stat |= INT_CMD_DONE;
|
||||
this->update_irq();
|
||||
break;
|
||||
case SeqCmd::EnaParityCheck:
|
||||
this->check_parity = true;
|
||||
break;
|
||||
case SeqCmd::DisParityCheck:
|
||||
this->check_parity = false;
|
||||
break;
|
||||
case SeqCmd::EnaReselect:
|
||||
LOG_F(9, "MESH: EnaReselect stub invoked");
|
||||
this->int_stat |= INT_CMD_DONE;
|
||||
|
@ -150,6 +150,7 @@ private:
|
||||
uint8_t error;
|
||||
uint8_t exception = 0;
|
||||
uint16_t bus_stat;
|
||||
bool check_parity = true;
|
||||
};
|
||||
|
||||
#endif // MESH_H
|
||||
|
Loading…
Reference in New Issue
Block a user