mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-17 13:25:24 +03:00
Cleanup crunch(), switch to use .pushX functions
This commit is contained in:
parent
6275b8b462
commit
44a0d54ea9
4 changed files with 172 additions and 272 deletions
|
@ -416,14 +416,6 @@ function have_sensor(sensors_detected, sensor_code) {
|
|||
return false;
|
||||
}
|
||||
|
||||
function highByte(num) {
|
||||
return num >> 8;
|
||||
}
|
||||
|
||||
function lowByte(num) {
|
||||
return 0x00FF & num;
|
||||
}
|
||||
|
||||
function update_dataflash_global() {
|
||||
var supportsDataflash = DATAFLASH.totalSize > 0;
|
||||
if (supportsDataflash){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue