1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00
RIOT/drivers
Benjamin Valentin b34b67feee drivers/dose: reduce struct padding
By moving all the single byte struct elements to the end, we can reduce
padding inside `dose_t` and ensure that `recv_buf` is always aligned.

This saves some RAM:

master
------
   text	   data	    bss	    dec	    hex	filename
  36384	    136	  12944	  49464	   c138 tests/driver_dose/bin/samr21-xpro/tests_driver_dose.e

this patch
----------
   text	   data	    bss	    dec	    hex	filename
  36484	    136	  12936	  49556	   c194	tests/driver_dose/bin/samr21-xpro/tests_driver_dose.elf
2021-11-12 16:19:20 +01:00
..
2021-11-02 14:57:50 +01:00
2021-08-13 19:50:38 +02:00
2020-12-02 10:13:10 +01:00
2021-08-13 19:50:38 +02:00
2021-01-18 10:42:34 +01:00
2021-01-14 10:00:43 +01:00
2021-11-04 10:39:36 +01:00
2021-07-28 00:35:47 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2021-11-08 18:42:05 +01:00
2021-11-02 21:46:19 +01:00
2021-09-22 09:22:51 +02:00