mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
[FL-3867] Code formatting update (#3765)
* clang-format: AllowShortEnumsOnASingleLine: false * clang-format: InsertNewlineAtEOF: true * clang-format: Standard: c++20 * clang-format: AlignConsecutiveBitFields * clang-format: AlignConsecutiveMacros * clang-format: RemoveParentheses: ReturnStatement * clang-format: RemoveSemicolon: true * Restored RemoveParentheses: Leave, retained general changes for it * formatting: fixed logging TAGs * Formatting update for dev Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -2,19 +2,19 @@
|
||||
|
||||
#include "../common/infrared_common_i.h"
|
||||
|
||||
#define INFRARED_PIONEER_CARRIER_FREQUENCY 40000
|
||||
#define INFRARED_PIONEER_DUTY_CYCLE 0.33
|
||||
#define INFRARED_PIONEER_PREAMBLE_MARK 8500
|
||||
#define INFRARED_PIONEER_PREAMBLE_SPACE 4225
|
||||
#define INFRARED_PIONEER_BIT1_MARK 500
|
||||
#define INFRARED_PIONEER_BIT1_SPACE 1500
|
||||
#define INFRARED_PIONEER_BIT0_MARK 500
|
||||
#define INFRARED_PIONEER_BIT0_SPACE 500
|
||||
#define INFRARED_PIONEER_CARRIER_FREQUENCY 40000
|
||||
#define INFRARED_PIONEER_DUTY_CYCLE 0.33
|
||||
#define INFRARED_PIONEER_PREAMBLE_MARK 8500
|
||||
#define INFRARED_PIONEER_PREAMBLE_SPACE 4225
|
||||
#define INFRARED_PIONEER_BIT1_MARK 500
|
||||
#define INFRARED_PIONEER_BIT1_SPACE 1500
|
||||
#define INFRARED_PIONEER_BIT0_MARK 500
|
||||
#define INFRARED_PIONEER_BIT0_SPACE 500
|
||||
#define INFRARED_PIONEER_PREAMBLE_TOLERANCE 200 // us
|
||||
#define INFRARED_PIONEER_BIT_TOLERANCE 120 // us
|
||||
#define INFRARED_PIONEER_SILENCE 26000
|
||||
#define INFRARED_PIONEER_MIN_SPLIT_TIME (INFRARED_PIONEER_SILENCE)
|
||||
#define INFRARED_PIONEER_REPEAT_COUNT_MIN 2
|
||||
#define INFRARED_PIONEER_BIT_TOLERANCE 120 // us
|
||||
#define INFRARED_PIONEER_SILENCE 26000
|
||||
#define INFRARED_PIONEER_MIN_SPLIT_TIME (INFRARED_PIONEER_SILENCE)
|
||||
#define INFRARED_PIONEER_REPEAT_COUNT_MIN 2
|
||||
|
||||
extern const InfraredCommonProtocolSpec infrared_protocol_pioneer;
|
||||
|
||||
@@ -22,4 +22,4 @@ bool infrared_decoder_pioneer_interpret(InfraredCommonDecoder* decoder);
|
||||
InfraredStatus infrared_encoder_pioneer_encode_repeat(
|
||||
InfraredCommonEncoder* encoder,
|
||||
uint32_t* duration,
|
||||
bool* level);
|
||||
bool* level);
|
||||
|
||||
Reference in New Issue
Block a user