formatting

This commit is contained in:
JQ 2025-06-27 23:30:52 -07:00
parent e417c43c30
commit ff3e888dfd
4 changed files with 35 additions and 34 deletions

View file

@ -1,6 +1,7 @@
#include <Arduino.h>
#include "target.h"
#include <Arduino.h>
HeltecV3Board board;
static SPIClass spi;
@ -14,7 +15,7 @@ AutoDiscoverRTCClock rtc_clock(fallback_clock);
SensorManager sensors;
#ifdef DISPLAY_CLASS
DISPLAY_CLASS display;
DISPLAY_CLASS display;
#endif
bool radio_init() {
@ -40,5 +41,5 @@ void radio_set_tx_power(uint8_t dbm) {
mesh::LocalIdentity radio_new_identity() {
RadioNoiseListener rng(radio);
return mesh::LocalIdentity(&rng); // create new random identity
return mesh::LocalIdentity(&rng); // create new random identity
}

View file

@ -2,13 +2,13 @@
#define RADIOLIB_STATIC_ONLY 1
#include <RadioLib.h>
#include <helpers/RadioLibWrappers.h>
#include <helpers/HeltecV3Board.h>
#include <helpers/CustomSX1262Wrapper.h>
#include <helpers/AutoDiscoverRTCClock.h>
#include <helpers/CustomSX1262Wrapper.h>
#include <helpers/HeltecV3Board.h>
#include <helpers/RadioLibWrappers.h>
#include <helpers/SensorManager.h>
#ifdef DISPLAY_CLASS
#include <helpers/ui/E213Display.h>
#include <helpers/ui/E213Display.h>
#endif
extern HeltecV3Board board;
@ -17,7 +17,7 @@ extern AutoDiscoverRTCClock rtc_clock;
extern SensorManager sensors;
#ifdef DISPLAY_CLASS
extern DISPLAY_CLASS display;
extern DISPLAY_CLASS display;
#endif
bool radio_init();