# Conflicts: # .github/workflows/github-pages.yml # .github/workflows/pr-build-check.yml # README.md # docs/cli_commands.md # docs/companion_protocol.md # docs/faq.md # docs/number_allocations.md # mkdocs.yml # variants/heltec_v3/platformio.ini
28 lines
673 B
C
28 lines
673 B
C
#pragma once
|
|
|
|
#define RADIOLIB_STATIC_ONLY 1
|
|
#include <RadioLib.h>
|
|
#include <helpers/radiolib/RadioLibWrappers.h>
|
|
#include <helpers/ESP32Board.h>
|
|
#include <helpers/radiolib/CustomSX1262Wrapper.h>
|
|
#include <helpers/AutoDiscoverRTCClock.h>
|
|
#include <helpers/SensorManager.h>
|
|
#ifdef DISPLAY_CLASS
|
|
#include <helpers/ui/SSD1306Display.h>
|
|
#include <helpers/ui/MomentaryButton.h>
|
|
#endif
|
|
|
|
extern ESP32Board board;
|
|
extern WRAPPER_CLASS radio_driver;
|
|
extern AutoDiscoverRTCClock rtc_clock;
|
|
extern SensorManager sensors;
|
|
|
|
#ifdef DISPLAY_CLASS
|
|
extern DISPLAY_CLASS display;
|
|
extern MomentaryButton user_btn;
|
|
#endif
|
|
|
|
bool radio_init();
|
|
mesh::LocalIdentity radio_new_identity();
|
|
|