aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/chip.h')
-rw-r--r--ice40/chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/chip.h b/ice40/chip.h
index 9f15bf60..8298d837 100644
--- a/ice40/chip.h
+++ b/ice40/chip.h
@@ -188,8 +188,8 @@ static const int max_switch_bits = 5;
struct SwitchInfoPOD
{
+ int32_t num_bits;
int8_t x, y;
- int num_bits;
ConfigBitPOD cbits[max_switch_bits];
} __attribute__((packed));