UNPKG

@betaflight/api

Version:

A high-level API to read data from betaflight flight controllers

15 lines (14 loc) 841 B
import { OSDFields, OSDStatisticFields, OSDWarnings, OSDTimerSources, OSDAlarms, OSDUnitTypes, OSDVideoTypes, OSDPrecisionTypes } from "./types"; /** * Return the OSD fields in their data read order * based on the given api version */ export declare const osdFields: (apiVersion: string) => OSDFields[]; export declare const osdStatisticFields: (apiVersion: string) => OSDStatisticFields[]; export declare const osdWarnings: (apiVersion: string) => OSDWarnings[]; export declare const osdTimerSources: (apiVersion: string) => OSDTimerSources[]; export declare const osdAlarms: () => OSDAlarms[]; export declare const OSD_UNIT_VALUE_TO_TYPE: OSDUnitTypes[]; export declare const OSD_VIDEO_VALUE_TO_TYPE: OSDVideoTypes[]; export declare const OSD_PRECISION_VALUE_TO_TYPE: OSDPrecisionTypes[]; export declare const OSD_VALUE_VISIBLE = 2048;