trunk fmt: bring the two files this branch touches up to clang-format 20

Trunk Check runs clang-format 20.1.0 over every file a PR modifies, whole file,
so the RDEF macro in RadioInterface.cpp and two `){};` constructor bodies in
RadioLibInterface.h are reported against this branch although it did not write
them. This is `trunk fmt` output, nothing hand-edited.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MkrqYBzhAxyybmoezb1TJV
This commit is contained in:
Jonathan BennettandClaude Opus 5 committed 2026-10-10 15:25:13 +00:00
1 parent faca3727de
commit ba00128d40
2 files changed
+13 -6

No files matched your search

+11 -4
View File
@@ -101,10 +101,17 @@ Observable<uint32_t> RadioInterface::loraRxPacketObservable;
#define RDEF(name, freq_start, freq_end, duty_cycle, power_limit, frequency_switching, wide_lora, profile_ptr, default_preset, \
override_slot) \
{ \
meshtastic_Config_LoRaConfig_RegionCode_##name, freq_start, freq_end, duty_cycle, power_limit, frequency_switching, \
wide_lora, &profile_ptr, default_preset, override_slot, #name \
}
{meshtastic_Config_LoRaConfig_RegionCode_##name, \
freq_start, \
freq_end, \
duty_cycle, \
power_limit, \
frequency_switching, \
wide_lora, \
&profile_ptr, \
default_preset, \
override_slot, \
#name}
const RegionInfo regions[] = {
/*
+2 -2
View File
@@ -43,7 +43,7 @@
class LockingArduinoHal : public ArduinoHal
{
public:
LockingArduinoHal(SPIClass &spi, SPISettings spiSettings) : ArduinoHal(spi, spiSettings){};
LockingArduinoHal(SPIClass &spi, SPISettings spiSettings) : ArduinoHal(spi, spiSettings) {};
void spiBeginTransaction() override;
void spiEndTransaction() override;
@@ -87,7 +87,7 @@ class STM32WLx_ModuleWrapper : public STM32WLx_Module
public:
STM32WLx_ModuleWrapper(LockingArduinoHal *hal, RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst,
RADIOLIB_PIN_TYPE busy)
: STM32WLx_Module(){};
: STM32WLx_Module() {};
};
#endif