<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_sweep_skeletyl/quantum/backlight/backlight_driver_common.c, branch master</title>
<subtitle>my qmk configs</subtitle>
<id>http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master</id>
<link rel='self' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/'/>
<updated>2025-11-30T19:25:13+00:00</updated>
<entry>
<title>[CI] Format code according to conventions (#25827)</title>
<updated>2025-11-30T19:25:13+00:00</updated>
<author>
<name>QMK Bot</name>
</author>
<published>2025-11-30T19:25:13+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=6ed61c65dd66cdbb450a4920a69bae193ec73f15'/>
<id>urn:sha1:6ed61c65dd66cdbb450a4920a69bae193ec73f15</id>
<content type='text'>
Format code according to conventions</content>
</entry>
<entry>
<title>Update GPIO macro usages in core (#23093)</title>
<updated>2024-02-18T06:08:27+00:00</updated>
<author>
<name>Ryan</name>
</author>
<published>2024-02-18T06:08:27+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=2d1aed78a67b3d2b002cc739ef087963b05b76b8'/>
<id>urn:sha1:2d1aed78a67b3d2b002cc739ef087963b05b76b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Relocate backlight drivers (#21444)</title>
<updated>2023-07-08T13:13:10+00:00</updated>
<author>
<name>Ryan</name>
</author>
<published>2023-07-08T13:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=cb2331713c84bb2b7f140f67b41037721f4958a1'/>
<id>urn:sha1:cb2331713c84bb2b7f140f67b41037721f4958a1</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>
</author>
<published>2022-08-30T08:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/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>Format code according to conventions (#16322)</title>
<updated>2022-02-12T18:29:31+00:00</updated>
<author>
<name>QMK Bot</name>
</author>
<published>2022-02-12T18:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=63646e8906e062d1c1de3925cba70c4e3426a855'/>
<id>urn:sha1:63646e8906e062d1c1de3925cba70c4e3426a855</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Backlight - Carve out a better location for private driver functionality (#8329)</title>
<updated>2020-03-07T12:09:49+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2020-03-07T12:09:49+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1'/>
<id>urn:sha1:3a303bd2aec57fd2d4d0f6d3e5583d746367d6e1</id>
<content type='text'>
* rename backlight_soft to match rules.mk

* rename backlight_soft to match rules.mk - update common_features

* Carve out a better location for private driver backlight functionality</content>
</entry>
</feed>
