1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 12:55:14 +03:00

feat: move firmware to modules

this fixes the disconnect issue
This commit is contained in:
Tomas Chmelevskij 2021-06-03 21:04:46 +01:00
parent ceea7ef60b
commit d71a5f7ef3
3 changed files with 18 additions and 13 deletions

View file

@ -321,7 +321,9 @@ function startProcess() {
);
break;
case 'firmware_flasher':
TABS.firmware_flasher.initialize(content_ready);
import("./tabs/firmware_flasher").then(({ firmware_flasher }) =>
firmware_flasher.initialize(content_ready)
);
break;
case 'help':
import('./tabs/help').then(({ help }) => help.initialize(content_ready));