Skip to content

Commit

Permalink
Allow swd debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Ebiroll committed Mar 30, 2018
1 parent f6503bb commit 4e0e0df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/RAK811BreakBoard/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ void BoardInitPeriph( void )
//Init GPS
GpsInit( );

//Init LIS3DH
LIS3DH_Init( );
//Init LIS3DH
LIS3DH_Init( );

// Switch LED 1, 2 OFF
GpioWrite( &Led1, 1 );
Expand Down Expand Up @@ -293,8 +293,8 @@ static void BoardUnusedIoInit( void )
HAL_DBGMCU_DisableDBGStopMode( );
HAL_DBGMCU_DisableDBGStandbyMode( );

GpioInit( &ioPin, SWDIO, PIN_ANALOGIC, PIN_PUSH_PULL, PIN_NO_PULL, 0 );
GpioInit( &ioPin, SWCLK, PIN_ANALOGIC, PIN_PUSH_PULL, PIN_NO_PULL, 0 );
//GpioInit( &ioPin, SWDIO, PIN_ANALOGIC, PIN_PUSH_PULL, PIN_NO_PULL, 0 );
//GpioInit( &ioPin, SWCLK, PIN_ANALOGIC, PIN_PUSH_PULL, PIN_NO_PULL, 0 );
#endif
}

Expand Down

0 comments on commit 4e0e0df

Please sign in to comment.