Fix gcc 10.2 error messages.

This commit is contained in:
phdussud
2020-12-12 15:48:45 -08:00
parent 922d3b0b56
commit a11ec92a25
10 changed files with 21 additions and 16 deletions
+3 -3
View File
@@ -9,13 +9,13 @@
/*!
* \brief define type of communication
*/
enum {
enum communication_type {
MODE_ANLOGICCABLE = 0, /*! JTAG probe from Anlogic */
MODE_FTDI_BITBANG = 1, /*! used with ft232RL/ft231x */
MODE_FTDI_SERIAL = 2, /*! ft2232, ft232H */
MODE_DIRTYJTAG = 3, /*! JTAG probe firmware for STM32F1 */
MODE_USBBLASTER = 4 /*! JTAG probe firmware for USBBLASTER */
} communication_type_t;
MODE_USBBLASTER = 4, /*! JTAG probe firmware for USBBLASTER */
};
typedef struct {
int type;