Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
scanner-darkly authored Apr 10, 2023
1 parent 0574068 commit 61d9f65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- **NEW**: Ten new patterns for `DR.V` and optimised old patterns
- **FIX**: fix BPM rounding error
- **FIX**: support all line ending types for USB load
- **FIX**: fix `STATE` not accounting for `DEVICE.FLIP`

## v4.0.0

Expand Down
1 change: 1 addition & 0 deletions docs/whats_new.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- **NEW**: [I2C2MIDI](https://github.com/attowatt/i2c2midi) ops
- **FIX**: fix BPM rounding error
- **FIX**: support all line ending types for USB load
- **FIX**: fix `STATE` not accounting for `DEVICE.FLIP`

## v4.0.0

Expand Down
3 changes: 2 additions & 1 deletion module/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,8 @@ void tele_kill() {
}

bool tele_get_input_state(uint8_t n) {
return gpio_get_pin_value(A00 + n) > 0;
u8 input = device_config.flip ? 7 - n : n;
return gpio_get_pin_value(A00 + input) > 0;
}

void tele_vars_updated() {
Expand Down

0 comments on commit 61d9f65

Please sign in to comment.