Format code according to conventions (#16322)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user