Skip to content

Commit

Permalink
update examples some more
Browse files Browse the repository at this point in the history
  • Loading branch information
DivineGod committed Nov 14, 2024
1 parent 0ec0d94 commit 16efd8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions examples/use_config/nrf52840_ble_split/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"

[target.'cfg(all(target_arch = "arm", target_os = "none"))']
# Have to use simmsb's elf2uf2 fork to flash https://github.com/simmsb/elf2uf2-rs
# Have to use simmsb's elf2uf2 fork to flash https://github.com/simmsb/elf2uf2-rs
# runner = "elf2uf2-rs -d"
runner = "probe-rs run --chip nRF52840_xxAA"
runner = "probe-rs run --chip nRF52840_xxAA --allow-erase-all"
linker = "flip-link"
rustflags = [
# Previously, the linker arguments --nmagic and -Tlink.x were set here.
Expand Down Expand Up @@ -35,4 +35,4 @@ target = "thumbv7em-none-eabihf" # Cortex-M4F and Cortex-M7F (with FPU)
# target = "thumbv8m.main-none-eabihf" # Cortex-M33 (with FPU)

[env]
DEFMT_LOG = "debug"
DEFMT_LOG = "debug"
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[keyboard]
name = "RMK Keyboard"
name = "RMK Keyboard 3:"
product_name = "RMK Keyboard"
vendor_id = 0x4c4b
product_id = 0x4643
Expand Down
4 changes: 2 additions & 2 deletions rmk/src/split/peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ pub async fn run_rmk_split_peripheral_direct_pin<
) {
// Create the debouncer, use COL2ROW by default
#[cfg(all(feature = "col2row", feature = "rapid_debouncer"))]
let debouncer = RapidDebouncer::<ROW, COL>::new();
let debouncer = RapidDebouncer::<COL, ROW>::new();
#[cfg(all(feature = "col2row", not(feature = "rapid_debouncer")))]
let debouncer = DefaultDebouncer::<ROW, COL>::new();
let debouncer = DefaultDebouncer::<COL, ROW>::new();
#[cfg(all(not(feature = "col2row"), feature = "rapid_debouncer"))]
let debouncer = RapidDebouncer::<COL, ROW>::new();
#[cfg(all(not(feature = "col2row"), not(feature = "rapid_debouncer")))]
Expand Down

0 comments on commit 16efd8d

Please sign in to comment.