mesh: implement EnaParityCheck and DisParityCheck commands.

This commit is contained in:
Maxim Poliakovski 2024-07-25 22:17:47 +02:00
parent 19ecc4f945
commit 8d6f77ea71
2 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -150,6 +150,7 @@ private:
uint8_t error;
uint8_t exception = 0;
uint16_t bus_stat;
bool check_parity = true;
};
#endif // MESH_H