From 2b83233399fcc933ccfa8c935213754abb3fd7ba Mon Sep 17 00:00:00 2001 From: ole00 Date: Tue, 9 Apr 2024 21:04:05 +0100 Subject: [PATCH] jtag: removed initialisation within the struct --- jtag_xsvf_player.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jtag_xsvf_player.h b/jtag_xsvf_player.h index a96946e..ecf657a 100644 --- a/jtag_xsvf_player.h +++ b/jtag_xsvf_player.h @@ -209,8 +209,8 @@ typedef struct xsvf_t { uint32_t csum; #endif - uint16_t instruction_counter = 0; - uint8_t error = 0; + uint16_t instruction_counter; + uint8_t error; uint8_t xcomplete; uint16_t sirsize_bits; @@ -947,4 +947,4 @@ static void jtag_play_xsvf(jtag_port_t* port) } -#endif /*_JTAG_XSVF_PLAYER_H_*/ \ No newline at end of file +#endif /*_JTAG_XSVF_PLAYER_H_*/