#pragma once #include #ifdef BOARD_OSD_CS_PIN #define OSD_RX_BUF_SIZE 256 #define OSD_TX_BUF_SIZE 256 #include 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