mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-25 12:17:12 +02:00
fix compile error and warnings
This commit is contained in:
parent
8fb7bf1fcf
commit
ba8d1f3fc3
3 changed files with 11 additions and 4 deletions
|
@ -210,9 +210,9 @@ class Communication : public CommQueue<> {
|
|||
if(q->iv->miMultiParts < 6) {
|
||||
nextState = States::WAIT;
|
||||
} else {
|
||||
if((q->cmd == 0x39) && (q->iv->type == INV_TYPE_4CH) ||
|
||||
(q->cmd == MI_REQ_CH2) && (q->iv->type == INV_TYPE_2CH) ||
|
||||
(q->cmd == MI_REQ_CH1) && (q->iv->type == INV_TYPE_1CH)) {
|
||||
if(((q->cmd == 0x39) && (q->iv->type == INV_TYPE_4CH))
|
||||
|| ((q->cmd == MI_REQ_CH2) && (q->iv->type == INV_TYPE_2CH))
|
||||
|| ((q->cmd == MI_REQ_CH1) && (q->iv->type == INV_TYPE_1CH))) {
|
||||
miComplete(q->iv);
|
||||
//closeRequest(q->iv, q->iv->miMultiParts > 5);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue