From bca29ed402680f01c1589c698b61856e05f31bc6 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 13 Oct 2020 23:56:30 +0200 Subject: [PATCH] - no bit fields, please! The memory savings are not worth the negative side effects. --- source/blood/src/eventq.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blood/src/eventq.h b/source/blood/src/eventq.h index 7275e7988..93c00852e 100644 --- a/source/blood/src/eventq.h +++ b/source/blood/src/eventq.h @@ -73,8 +73,8 @@ kChannelMax = 4096, struct RXBUCKET { - unsigned int index : 13; - unsigned int type : 3; + uint16_t index; + uint8_t type; }; extern RXBUCKET rxBucket[]; extern unsigned short bucketHead[];