Format code according to conventions (#16322)
This commit is contained in:
parent
afcdd7079c
commit
63646e8906
345 changed files with 4916 additions and 3229 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue