mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-19 14:25:13 +03:00
Update STM32DFU procedure for H7 support
This commit is contained in:
parent
1d84fa0061
commit
0735671ae6
4 changed files with 471 additions and 243 deletions
|
@ -1,6 +1,18 @@
|
|||
/*global $*/
|
||||
'use strict';
|
||||
|
||||
function checkChromeRuntimeError() {
|
||||
if (chrome.runtime.lastError) {
|
||||
console.error(
|
||||
`Chrome API Error: ${chrome.runtime.lastError.message}.\n Traced ${
|
||||
new Error().stack
|
||||
}`
|
||||
);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function constrain(input, min, max) {
|
||||
|
||||
if (input < min) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue