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:
+5
-5
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user