1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2021-06-13 19:47:12 +02:00
parent 1d84fa0061
commit 0735671ae6
4 changed files with 471 additions and 243 deletions

View file

@ -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) {