PR feedback

This commit is contained in:
elpekenin 2025-05-19 14:08:07 +02:00
parent fae7c04de0
commit ec1d304a45

View File

@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h>
#include <stdbool.h>
#include "util.h"
/* FIXME: Add doxygen comments here. */
@ -37,8 +36,7 @@ typedef union {
bool kana : 1;
uint8_t reserved : 3;
};
} PACKED led_t;
_Static_assert(sizeof(led_t) == sizeof(uint8_t), "Invalid size for 'led_t'");
} led_t;
void led_set(uint8_t usb_led);