diff options
| author | Takeshi ISHII <2170248+mtei@users.noreply.github.com> | 2021-09-16 18:47:47 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-16 18:47:47 +0900 |
| commit | 85a0c494ffde3dfa555bbe32bb083eec85b9ca72 (patch) | |
| tree | b845ecae039c676d9c88ca87c9493da90bd7b454 /keyboards/helix/rev3_5rows/keymaps/five_rows/config.h | |
| parent | 13b93c212da202d210ba28657f1b1c3e06d56655 (diff) | |
| download | qmk_firmware-85a0c494ffde3dfa555bbe32bb083eec85b9ca72.tar.gz qmk_firmware-85a0c494ffde3dfa555bbe32bb083eec85b9ca72.zip | |
[Keymap] Update Helix:five_rows OLED code (#14427)
* Stop using snprintf() in keymaps/five_rows/oled_display.c.
The binary size becomes 1350 bytes smaller.
make HELIX=verbose,core-oled helix/rev2/sc:five_rows
(104 bytes over) -> (95%, 1256 bytes free)
make helix/rev3_5rows:five_rows
(528 bytes over) -> (97%, 830 bytes free)
* add matrix scan rate display to OLED for keymaps/five_rows
* add matrix_output_unselect_delay.c to helix keymaps/five_rows
* add GPLv2 header
* apply review comment
Diffstat (limited to 'keyboards/helix/rev3_5rows/keymaps/five_rows/config.h')
| -rw-r--r-- | keyboards/helix/rev3_5rows/keymaps/five_rows/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/keyboards/helix/rev3_5rows/keymaps/five_rows/config.h b/keyboards/helix/rev3_5rows/keymaps/five_rows/config.h index b9961f5c4..e1c124f41 100644 --- a/keyboards/helix/rev3_5rows/keymaps/five_rows/config.h +++ b/keyboards/helix/rev3_5rows/keymaps/five_rows/config.h | |||
| @@ -29,7 +29,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 29 | see tmk_core/common/action_tapping.c */ | 29 | see tmk_core/common/action_tapping.c */ |
| 30 | 30 | ||
| 31 | #undef OLED_UPDATE_INTERVAL | 31 | #undef OLED_UPDATE_INTERVAL |
| 32 | #define OLED_UPDATE_INTERVAL 50 | 32 | #ifdef DEBUG_MATRIX_SCAN_RATE |
| 33 | # define OLED_UPDATE_INTERVAL 500 | ||
| 34 | #else | ||
| 35 | # define OLED_UPDATE_INTERVAL 50 | ||
| 36 | #endif | ||
| 33 | 37 | ||
| 34 | // place overrides here | 38 | // place overrides here |
| 35 | 39 | ||
