<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk/quantum/backlight, branch master</title>
<subtitle>Custom split ortholinear mechanical keyboard with rollerball mouse. Firmware. https://blog.node5.net/custom-keyboard
</subtitle>
<id>http://git.node5.net/firmware/qmk/atom?h=master</id>
<link rel='self' href='http://git.node5.net/firmware/qmk/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/'/>
<updated>2023-07-08T13:13:10+00:00</updated>
<entry>
<title>Relocate backlight drivers (#21444)</title>
<updated>2023-07-08T13:13:10+00:00</updated>
<author>
<name>Ryan</name>
<email>fauxpark@gmail.com</email>
</author>
<published>2023-07-08T13:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=cb2331713c84bb2b7f140f67b41037721f4958a1'/>
<id>urn:sha1:cb2331713c84bb2b7f140f67b41037721f4958a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug] Realign and size check EECONFIG structures (#20541)</title>
<updated>2023-05-08T17:56:03+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@drashna.net</email>
</author>
<published>2023-05-08T17:56:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=5c4b53a1437adde49871752d8015bfc042b97c20'/>
<id>urn:sha1:5c4b53a1437adde49871752d8015bfc042b97c20</id>
<content type='text'>
Co-authored-by: Nick Brassel &lt;nick@tzarc.org&gt;
</content>
</entry>
<entry>
<title>[Core] PWM Backlight for RP2040 (#17706)</title>
<updated>2022-10-04T21:10:24+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2022-10-04T21:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=996a9006d3f101dc5c48b58339e2e7323040fd59'/>
<id>urn:sha1:996a9006d3f101dc5c48b58339e2e7323040fd59</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use a macro to compute the size of arrays at compile time (#18044)</title>
<updated>2022-08-30T08:20:04+00:00</updated>
<author>
<name>Jeff Epler</name>
<email>jepler@gmail.com</email>
</author>
<published>2022-08-30T08:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=9632360caa5e6511b0ec13cb4c55eb64408232b5'/>
<id>urn:sha1:9632360caa5e6511b0ec13cb4c55eb64408232b5</id>
<content type='text'>
* 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 &lt;karlk90@pm.me&gt;</content>
</entry>
<entry>
<title>Fix AVR backlight breathing: low brightness limit &amp; exceeding breathing table max index (#16770)</title>
<updated>2022-04-22T07:33:59+00:00</updated>
<author>
<name>customMK</name>
<email>67444966+David-customMK@users.noreply.github.com</email>
</author>
<published>2022-04-22T07:33:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=0100629fa2e5e9ddd6d0f855d687938352f82774'/>
<id>urn:sha1:0100629fa2e5e9ddd6d0f855d687938352f82774</id>
<content type='text'>
Co-authored-by: Drashna Jaelre &lt;drashna@live.com&gt;
Co-authored-by: David Hoelscher &lt;infinityis@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Format code according to conventions (#16322)</title>
<updated>2022-02-12T18:29:31+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2022-02-12T18:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=63646e8906e062d1c1de3925cba70c4e3426a855'/>
<id>urn:sha1:63646e8906e062d1c1de3925cba70c4e3426a855</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bit loss in cie_lightness() when doing division to resolve #15331 (#15344)</title>
<updated>2021-11-29T15:07:36+00:00</updated>
<author>
<name>Karl Shea</name>
<email>karlshea@gmail.com</email>
</author>
<published>2021-11-29T15:07:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=84b8cdc1a43245d24b232bc8e28cca7f1183d676'/>
<id>urn:sha1:84b8cdc1a43245d24b232bc8e28cca7f1183d676</id>
<content type='text'>
* Fix bit loss in cie_lightness() when doing division.

* Use the right types

* Format

Co-authored-by: zvecr &lt;git@zvecr.com&gt;</content>
</entry>
<entry>
<title>[Bug] Revert backlight pins on function call (#15205)</title>
<updated>2021-11-18T19:06:55+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-11-18T19:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=50dc313e809ae1e5e7775d90fd1cb43152091e48'/>
<id>urn:sha1:50dc313e809ae1e5e7775d90fd1cb43152091e48</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug] Fix missing variable for Backlight Breathing (#15199)</title>
<updated>2021-11-18T05:37:34+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-11-18T05:37:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=88eaf78628056d722734392be56e0624dae779e3'/>
<id>urn:sha1:88eaf78628056d722734392be56e0624dae779e3</id>
<content type='text'>
* [Bug] Fix missing varaible for Backlight Breathing

* Better fix

* formatting</content>
</entry>
<entry>
<title>Format code according to conventions (#15196)</title>
<updated>2021-11-17T21:07:45+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2021-11-17T21:07:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=cc7600cf0e9c639a325dc1cad18717a218bc820f'/>
<id>urn:sha1:cc7600cf0e9c639a325dc1cad18717a218bc820f</id>
<content type='text'>
</content>
</entry>
</feed>
