fix: bitstream_index_map overflow

This commit is contained in:
douniwan5788 2024-08-30 16:04:07 +08:00
commit 0710a37429
4 changed files with 7 additions and 5 deletions

View file

@ -36,10 +36,12 @@
typedef enum {
FPGA_BITSTREAM_UNKNOWN = 0,
FPGA_BITSTREAM_LF = 1,
FPGA_BITSTREAM_MIN = FPGA_BITSTREAM_LF,
FPGA_BITSTREAM_HF,
FPGA_BITSTREAM_HF_FELICA,
FPGA_BITSTREAM_HF_15,
FPGA_BITSTREAM_MAX = FPGA_BITSTREAM_HF_15,
FPGA_CONFIG_COUNT
} FPGA_config;
typedef struct {