mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-16 12:55:14 +03:00
Refactor vtx device status (#3208)
Refactor vtx device status to use modules
This commit is contained in:
parent
4582f4d39e
commit
05c6f8681a
9 changed files with 23 additions and 14 deletions
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
import VtxDeviceStatus, { VtxDeviceTypes } from './VtxDeviceStatus';
|
||||
import vtxDeviceStatusFactory from './VtxDeviceStatusFactory';
|
||||
|
||||
class VtxDeviceStatusTramp extends VtxDeviceStatus {
|
||||
constructor(dataView)
|
||||
|
@ -17,3 +18,5 @@ class VtxDeviceStatusTramp extends VtxDeviceStatus {
|
|||
}
|
||||
|
||||
vtxDeviceStatusFactory.registerVtxDeviceStatusClass(VtxDeviceStatusTramp);
|
||||
|
||||
export default VtxDeviceStatusTramp;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue