mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-01-30 04:14:36 +01:00
Merge pull request #42 from sophiekovalevsky/swd
fw/hardware: disable debug pins
This commit is contained in:
commit
57f7a4baea
|
|
@ -75,7 +75,7 @@ void HW::Work() {
|
|||
}
|
||||
|
||||
bool HW::Init() {
|
||||
#ifdef USE_DEBUG_PINS
|
||||
#if USE_DEBUG_PINS
|
||||
// initialize debug pins
|
||||
GPIO_InitTypeDef gpio;
|
||||
gpio.Pin = DEBUG1_PIN;
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@
|
|||
#include "max2871.hpp"
|
||||
#include "Si5351C.hpp"
|
||||
|
||||
#define USE_DEBUG_PINS
|
||||
#define USE_DEBUG_PINS 0
|
||||
|
||||
#ifdef USE_DEBUG_PINS
|
||||
#if USE_DEBUG_PINS
|
||||
#define DEBUG1_GPIO GPIOA
|
||||
#define DEBUG1_PIN GPIO_PIN_13
|
||||
#define DEBUG2_GPIO GPIOA
|
||||
|
|
|
|||
Loading…
Reference in a new issue