style(llcc68): apply shared clang-format

Add a .clang-format file to the LLCC68 submodule so it can be formatted consistently when edited or checked out independently from the parent repository.

Reformat the tracked C and C++ driver sources with the shared style configuration.
This commit is contained in:
2026-06-10 15:41:16 +08:00
parent d382bdfd1e
commit b125dd33b9
5 changed files with 2163 additions and 2135 deletions
+5 -5
View File
@@ -44,10 +44,10 @@ constexpr auto DEFAULT_BUSY_TIMEOUT_MS = 100;
* @param ldro_on Low data rate optimization setting sent to the radio
*/
constexpr airtime_t calc_time_on_air(uint8_t len, uint8_t sf, LoRaBandwidth bw,
LoRaCodingRate cr,
uint16_t preamble_length,
LoRaHeaderType header_type,
LoRaCrcType crc_type, bool ldro_on);
LoRaCodingRate cr,
uint16_t preamble_length,
LoRaHeaderType header_type,
LoRaCrcType crc_type, bool ldro_on);
struct LLCC68 {
/** trivial getter */
@@ -253,7 +253,7 @@ struct LLCC68 {
expected<unit, error_code> set_rx_duty_cycle(uint32_t rx_period,
uint32_t sleep_period);
expected<unit, error_code> set_rx_duty_cycle_ms(uint32_t rx_period_ms,
uint32_t sleep_period_ms);
uint32_t sleep_period_ms);
expected<unit, error_code> set_sleep(sleep_config_t config);
expected<unit, error_code> set_tx_continuous_wave();
expected<unit, error_code> set_tx_infinite_preamble();
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -15,9 +15,9 @@ extern "C" {
typedef void (*llcc68_user_dio1_handler_t)(const struct device *dev, void *user_data);
enum llcc68_rf_switch_mode {
LLCC68_RF_SWITCH_NONE = 0,
LLCC68_RF_SWITCH_NONE = 0,
LLCC68_RF_SWITCH_GPIO_COMPLEMENTARY = 1,
LLCC68_RF_SWITCH_DIO2_SINGLE = 2,
LLCC68_RF_SWITCH_DIO2_SINGLE = 2,
};
struct llcc68_config {