mesh: fix Arbitrate command for OS X.

This commit is contained in:
Maxim Poliakovski 2023-09-24 22:36:44 +02:00
parent f4f7edcc28
commit 4cdb81e822

View File

@ -147,6 +147,7 @@ void MeshController::perform_command(const uint8_t cmd)
switch (this->cur_cmd & 0xF) { switch (this->cur_cmd & 0xF) {
case SeqCmd::Arbitrate: case SeqCmd::Arbitrate:
this->bus_obj->release_ctrl_lines(this->src_id);
this->cur_state = SeqState::BUS_FREE; this->cur_state = SeqState::BUS_FREE;
this->sequencer(); this->sequencer();
break; break;
@ -155,7 +156,8 @@ void MeshController::perform_command(const uint8_t cmd)
this->sequencer(); this->sequencer();
break; break;
case SeqCmd::DisReselect: case SeqCmd::DisReselect:
LOG_F(INFO, "MESH: DisReselect command requested"); LOG_F(9, "MESH: DisReselect command requested");
this->int_stat |= INT_CMD_DONE;
break; break;
case SeqCmd::ResetMesh: case SeqCmd::ResetMesh:
this->reset(false); this->reset(false);