mirror of
https://github.com/meshtastic/firmware.git
synced 2026-11-07 23:04:49 -05:00
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:
1 parent
faca3727de
commit
ba00128d40
2 files changed
+13
-6
No files matched your search
@@ -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[] = {
|
||||
/*
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user