Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
by mrBen
|
|
* Add ARRAY_SIZE and CEILING utility macros
* Apply a coccinelle patch to use ARRAY_SIZE
* fix up some straggling items
* Fix 'make test:secure'
* Enhance ARRAY_SIZE macro to reject acting on pointers
The previous definition would not produce a diagnostic for
```
int *p;
size_t num_elem = ARRAY_SIZE(p)
```
but the new one will.
* explicitly get definition of ARRAY_SIZE
* Convert to ARRAY_SIZE when const is involved
The following spatch finds additional instances where the array is
const and the division is by the size of the type, not the size of
the first element:
```
@ rule5a using "empty.iso" @
type T;
const T[] E;
@@
- (sizeof(E)/sizeof(T))
+ ARRAY_SIZE(E)
@ rule6a using "empty.iso" @
type T;
const T[] E;
@@
- sizeof(E)/sizeof(T)
+ ARRAY_SIZE(E)
```
* New instances of ARRAY_SIZE added since initial spatch run
* Use `ARRAY_SIZE` in docs (found by grep)
* Manually use ARRAY_SIZE
hs_set is expected to be the same size as uint16_t, though it's made
of two 8-bit integers
* Just like char, sizeof(uint8_t) is guaranteed to be 1
This is at least true on any plausible system where qmk is actually used.
Per my understanding it's universally true, assuming that uint8_t exists:
https://stackoverflow.com/questions/48655310/can-i-assume-that-sizeofuint8-t-1
* Run qmk-format on core C files touched in this branch
Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
|
|
|
|
|
|
|
|
|
|
|
|
by slycedix
|
|
|
|
`QMK_KEYS_PER_SCAN` (#15292)
|
|
|
|
|
|
|
|
* Default Factory Settings
* Change Keyboard Name in Readme
* Fix LED Orders
* Change Brightness Step
* Enable Lighting Layers
* Add RGB Control Mode
* Unblink Layer to Clear Stack
* Add MacOS RGB Control
* Comment Fixes
|
|
|
|
Co-authored-by: Drashna Jaelre <drashna@live.com>
|
|
|
|
Co-authored-by: Drashna Jaelre <drashna@live.com>
|
|
|
|
|
|
Co-authored-by: xanimos <dan@xanimos.com>
|
|
(#16655)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Refactor `bootloader_jump()` implementations
* Fix tests?
* Rename `atmel-samba` to `md-boot`
|
|
* cleaned up for pr
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* SPDX copyright header
* renamed keymap folder to b_
* Your Name
Co-authored-by: Drashna Jaelre <drashna@live.com>
|
|
* cleaned up for pr
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* Update keyboards/massdrop/alt/keymaps/b/config.h
Co-authored-by: Drashna Jaelre <drashna@live.com>
* SPDX copyright header
* renamed keymap folder to b_
Co-authored-by: Drashna Jaelre <drashna@live.com>
|
|
@frap129 (#15520)
* support for Stack Overflow The Key from Drop - adapted from @frap129
* addressing code review comments
there's still some issues related to LEDs so i think for now the best
course of action is to remove those items until we can get better
details on the assembly of the board.
* removing this on the correct branch
* cleaning up more code review comments, moving to simpler/common formats for maps
* it is a C not a G fool
* well, looks like you can do it this way too for booting/dfu
* fixing missing newline for gcc to be quiet
* removing busted links
* formatting to match current template
* Update keyboards/massdrop/thekey/rules.mk
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Andy Piper <andypiper@users.noreply.github.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
|
|
* Remove unnecessary backslash-escapes in default keymaps
* Remove unnecessary backslash-escapes in via keymaps
* Remove unnecessary backslash-escapes in default-ish keymaps
|
|
|
|
|
|
|
|
|
|
|
|
* [Keymap] foxx1337's personal keymap
* Add keymap based on ctrl default
* Add 5 minute rgb matrix timeout
* Add foxx1337 layout defaults
* Add raw HID communication protocol
* Add rgbmatrix to the raw HID protocol
* Add readme
* Modernize ctrl, shift, alt mods detection
* Add GPL like copyright headers
|
|
* Add support to persist MD LED framework settings
* avoid out-of-bounds errors when SmartEEPROM is not enabled
* Update brightness defaults
* clang
|
|
|
|
|
|
|
|
|
|
|