Skip to content

Commit

Permalink
bluetag release. Fix for compile error. Note that this passed all cch…
Browse files Browse the repository at this point in the history
…ecks on a pull request, but failed on the build server.
  • Loading branch information
DESKTOP-7VKKLTO\ian committed Feb 3, 2025
1 parent 276fb84 commit 8c32509
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/jtag/bluetag.c
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ static void bluetag_cli(void){
{
rx_fifo_get_blocking(&cmd);
printf("%c\r\n",cmd);
struct jtagScan_t jtag;
struct swdScan_t swd;
switch(cmd)
{
// Help menu requested
Expand All @@ -236,7 +238,6 @@ static void bluetag_cli(void){

case 'j':
jtag_cleanup();
struct jtagScan_t jtag;
jtag.channelCount = get_channels(4, 8);
jtag.jPulsePins = jPulsePins;
if(jtag.channelCount == 0){
Expand All @@ -261,7 +262,7 @@ static void bluetag_cli(void){

case 's':
jtag_cleanup();
struct swdScan_t swd;
//struct swdScan_t swd;
swd.channelCount = get_channels(2, 8);
if(swd.channelCount == 0){
printf("\r\nAbort\r\n\r\n");
Expand Down

0 comments on commit 8c32509

Please sign in to comment.