Dan Halbert
fe0e2f13bc
wip; fix qstr processing
2023-08-10 20:06:32 -04:00
foamyguy
e5ea1d2247
try to revert pixelbuf merge brokenness. remove second color_u def.
2022-11-22 18:47:25 -06:00
Jeff Epler
14ba5a75a3
skip converting from long int if long ints aren't enabled
...
.. saves 20 bytes on proxlight trinkey
2022-11-14 21:26:58 -06:00
Jeff Epler
2d08473ee0
this version actually saves more code space on cortex-m0 with -Os (samd21s)
2022-11-14 21:18:40 -06:00
Jeff Epler
adca341d3b
Save code space by packing rgbw values into C union
...
It's more efficient passing one register-sized structure than 4
arguments or 4 pointers; working on intermediate values of 'int' size
is also more efficient in code size!
On raspberry pi pico w, this increased free flash space by +104 bytes.
It also increased the speed of my testing animation very slightly, from
187fps to 189fps when run 'unthrottled'
2022-11-14 09:29:45 -06:00
Dan Halbert
a01dec1df9
message consolidation and more use of validators
2022-05-19 15:38:37 -04:00
George Waters
c615daff30
Explicitly cast float to mp_int_t
...
Not sure why this is necessary, but it prevents an off-by-one error in
some (rare?) circumstances.
2021-12-17 16:23:58 -05:00
Jeff Epler
621953c960
Additional missing-prototypes fixes
...
I think this correctly enables missing-prototypes in atmel-samd
and raspberrypi ports.
2021-11-10 10:55:53 -06:00
Kattni Rembor
c21e16162c
Remove _ from common_hal__adafruit_pixelbuf.
2021-07-16 14:08:39 -04:00
Kattni Rembor
dc2907ac1b
Rename _pixelbuf to adafruit_pixelbuf, alias.
2021-07-16 13:31:40 -04:00