APM:Libraries
osd.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <AP_HAL/AP_HAL.h>
4 
5 #ifdef BOARD_OSD_CS_PIN
6 
7 #define OSD_RX_BUF_SIZE 256
8 #define OSD_TX_BUF_SIZE 256
9 
11 
12 extern const AP_HAL::HAL& hal;
13 
14 #include "osd_namespace.h"
15 
16 #include "osd_core/compat.h"
17 #include "osd_core/Defs.h"
18 
19 #define OSD_LOW_PRIORITY 115 // 15 less than main task so runs almost only in delay() time - 1/16 of main thread
20 #define OSD_HIGH_PRIORITY 99 // 1 more than main so uses 2/3 of CPU
21 #endif
const AP_HAL::HAL & hal
Definition: UARTDriver.cpp:37