summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2018-09-29 18:01:58 +0300
committerDamien George <damien.p.george@gmail.com>2018-10-05 17:02:15 +1000
commit18f45d2e235f180fc566b2371d001be3eeb7e91a (patch)
tree0ebdfdbf60b58d5b7768e3de8b9ef0cd7fc137ac
parentd251f2668874f454a2447eebbec2379a384ad2c9 (diff)
extmod/moductypes: Remove BITFIELD from aggregate types enum.
This value is unused. It was an artifact of early draft design, but bitfields were optimized to use scalar one-word encoding, to allow compact encoding of typical multiple bitfields in MCU control registers.
-rw-r--r--extmod/moductypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c
index c3da083cf..f7d3b6a5f 100644
--- a/extmod/moductypes.c
+++ b/extmod/moductypes.c
@@ -92,7 +92,7 @@ enum {
#define AGG_TYPE_BITS 2
enum {
- STRUCT, PTR, ARRAY, BITFIELD,
+ STRUCT, PTR, ARRAY,
};
// Here we need to set sign bit right