mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 13:55:18 +03:00
handle impossible default state since that's what we do now
This commit is contained in:
parent
a0ed27c161
commit
6d44499f99
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ var MSP = {
|
||||||
this.message_length_received = 0;
|
this.message_length_received = 0;
|
||||||
this.state = 0;
|
this.state = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
console.log('Unknown state detected: ' + this.state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue