Skip to content

Commit

Permalink
fissure steno configs
Browse files Browse the repository at this point in the history
  • Loading branch information
crides committed May 19, 2021
1 parent 34fc792 commit f0b310a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions qmk/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,6 @@
#define COMBO_COUNT 28
#define COMBO_TERM 60

#define STENO_DICT_MSC_PIN D4

#endif
4 changes: 2 additions & 2 deletions qmk/v2/impl/qmk/hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
pressed = 0;
}
}
return true;
} else {
return false;
} else {
return true;
}
}

6 changes: 3 additions & 3 deletions qmk/v2/impl/qmk/spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
#define configure_pin_sck() DDRB |= _BV(DDB1)
#define configure_pin_mosi() DDRB |= _BV(DDB2)
#define configure_pin_miso() DDRB &= ~_BV(DDB3)
#define configure_pin_ss() DDRD |= _BV(DDD5)
#define configure_pin_ss() DDRB |= _BV(DDB6)

#define select_card() PORTD &= ~_BV(PORTD5)
#define unselect_card() PORTD |= _BV(PORTD5)
#define select_card() PORTB &= ~_BV(PORTB6)
#define unselect_card() PORTB |= _BV(PORTB6)

void spi_init(void);
void spi_send_byte(uint8_t);
Expand Down

0 comments on commit f0b310a

Please sign in to comment.