diff --git a/firmware/application/apps/ui_encoders.cpp b/firmware/application/apps/ui_encoders.cpp index c4ed06473..c145bff6f 100644 --- a/firmware/application/apps/ui_encoders.cpp +++ b/firmware/application/apps/ui_encoders.cpp @@ -153,16 +153,15 @@ void EncodersConfigView::on_show() { on_type_change(0); } +// clang-format off void EncodersConfigView::draw_waveform() { // padding reason: // in real world the signal would always start with low level and became low level again after yout turn off the radio; // the waveform_buffer only controls drawing, the real send logic that been sent is controlled by frame_fragments // so just for out of looking things - - // clang-format off + #define PADDING_LEFT 1 #define PADDING_RIGHT 1 - // clang-format on size_t length = frame_fragments.length(); @@ -189,6 +188,7 @@ void EncodersConfigView::draw_waveform() { waveform.set_length(length + PADDING_LEFT + PADDING_RIGHT); waveform.set_dirty(); } +// clang-format on void EncodersConfigView::generate_frame() { frame_fragments.clear();