You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
475 B

#pragma once
#include <AP_HAL/AP_HAL.h>
#ifdef BOARD_OSD_CS_PIN
#define OSD_RX_BUF_SIZE 256
#define OSD_TX_BUF_SIZE 256
#include <AP_HAL_F4Light/AP_HAL_F4Light.h>
extern const AP_HAL::HAL& hal;
#include "osd_namespace.h"
#include "osd_core/compat.h"
#include "osd_core/Defs.h"
#define OSD_LOW_PRIORITY 115 // 15 less than main task so runs almost only in delay() time - 1/16 of main thread
#define OSD_HIGH_PRIORITY 99 // 1 more than main so uses 2/3 of CPU
#endif