Skip to content

Commit

Permalink
change: disable concurrent flip
Browse files Browse the repository at this point in the history
  • Loading branch information
daystram committed Sep 1, 2024
1 parent 01cec53 commit e5a283e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[target.'cfg(all(target_arch = "arm", target_os = "none"))']
runner = "probe-rs run --chip RP2040"
# runner = "elf2uf2-rs -d"
# runner = "probe-rs run --chip RP2040"
runner = "elf2uf2-rs -d"
rustflags = [
"-C",
"linker=flip-link",
Expand Down
7 changes: 3 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -312,10 +312,9 @@ mod kb {
let input_processors: &mut [&mut dyn InputProcessor<
{ <Keyboard as KeyboardConfiguration>::KEY_MATRIX_ROW_COUNT },
{ <Keyboard as KeyboardConfiguration>::KEY_MATRIX_COL_COUNT },
>] = &mut [
&mut KeyMatrixRisingFallingDebounceProcessor::new(10.millis()),
&mut ConcurrentFlipProcessor::new(Pos { row: 2, col: 1 }, Pos { row: 2, col: 3 }),
];
>] = &mut [&mut KeyMatrixRisingFallingDebounceProcessor::new(
10.millis(),
)];
let mut mapper = Mapper::new(<Keyboard as KeyboardConfiguration>::get_input_map());
let events_processors: &mut [&mut dyn EventsProcessor<
<Keyboard as KeyboardConfiguration>::Layer,
Expand Down

0 comments on commit e5a283e

Please sign in to comment.