Format code according to conventions (#16322)

This commit is contained in:
QMK Bot
2022-02-12 10:29:31 -08:00
committed by GitHub
parent afcdd7079c
commit 63646e8906
345 changed files with 4916 additions and 3229 deletions

View File

@@ -19,8 +19,14 @@
uint16_t last_noteon = 0;
uint16_t last_noteoff = 0;
uint16_t midi_compute_note(uint16_t keycode) { return keycode; }
uint16_t midi_compute_note(uint16_t keycode) {
return keycode;
}
void process_midi_basic_noteon(uint16_t note) { last_noteon = note; }
void process_midi_basic_noteon(uint16_t note) {
last_noteon = note;
}
void process_midi_basic_noteoff(uint16_t note) { last_noteoff = note; }
void process_midi_basic_noteoff(uint16_t note) {
last_noteoff = note;
}

View File

@@ -78,7 +78,9 @@ class SequencerTest : public ::testing::Test {
sequencer_state_t state_copy;
};
TEST_F(SequencerTest, TestOffByDefault) { EXPECT_EQ(is_sequencer_on(), false); }
TEST_F(SequencerTest, TestOffByDefault) {
EXPECT_EQ(is_sequencer_on(), false);
}
TEST_F(SequencerTest, TestOn) {
sequencer_config.enabled = false;