File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
source/hic_hal/nxp/lpc4322 Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1129,18 +1129,18 @@ void SWJ_Sequence(uint32_t count, const uint8_t *request)
1129
1129
// return: none
1130
1130
void SWD_Sequence (uint32_t info , const uint8_t * swdo , uint8_t * swdi )
1131
1131
{
1132
- uint32_t bytes_nb ;
1132
+ uint32_t bits_sz ;
1133
1133
1134
1134
shift_clk_preset_init ();
1135
1135
1136
- bytes_nb = info & SWD_SEQUENCE_CLK ;
1137
- if (bytes_nb == 0U )
1138
- bytes_nb = 64U ;
1136
+ bits_sz = info & SWD_SEQUENCE_CLK ;
1137
+ if (bits_sz == 0U )
1138
+ bits_sz = 64U ;
1139
1139
1140
1140
if (info & SWD_SEQUENCE_DIN )
1141
- sequence_read (bytes_nb * 8 , swdi );
1141
+ sequence_read (bits_sz , swdi );
1142
1142
else
1143
- sequence_send (bytes_nb * 8 , swdo );
1143
+ sequence_send (bits_sz , swdo );
1144
1144
}
1145
1145
1146
1146
You can’t perform that action at this time.
0 commit comments