mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 20:29:46 +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->int_stat |= INT_CMD_DONE;
|
||||||
this->update_irq();
|
this->update_irq();
|
||||||
break;
|
break;
|
||||||
|
case SeqCmd::EnaParityCheck:
|
||||||
|
this->check_parity = true;
|
||||||
|
break;
|
||||||
|
case SeqCmd::DisParityCheck:
|
||||||
|
this->check_parity = false;
|
||||||
|
break;
|
||||||
case SeqCmd::EnaReselect:
|
case SeqCmd::EnaReselect:
|
||||||
LOG_F(9, "MESH: EnaReselect stub invoked");
|
LOG_F(9, "MESH: EnaReselect stub invoked");
|
||||||
this->int_stat |= INT_CMD_DONE;
|
this->int_stat |= INT_CMD_DONE;
|
||||||
|
@ -150,6 +150,7 @@ private:
|
|||||||
uint8_t error;
|
uint8_t error;
|
||||||
uint8_t exception = 0;
|
uint8_t exception = 0;
|
||||||
uint16_t bus_stat;
|
uint16_t bus_stat;
|
||||||
|
bool check_parity = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MESH_H
|
#endif // MESH_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user