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() {
|
bool HW::Init() {
|
||||||
#ifdef USE_DEBUG_PINS
|
#if USE_DEBUG_PINS
|
||||||
// initialize debug pins
|
// initialize debug pins
|
||||||
GPIO_InitTypeDef gpio;
|
GPIO_InitTypeDef gpio;
|
||||||
gpio.Pin = DEBUG1_PIN;
|
gpio.Pin = DEBUG1_PIN;
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
#include "max2871.hpp"
|
#include "max2871.hpp"
|
||||||
#include "Si5351C.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_GPIO GPIOA
|
||||||
#define DEBUG1_PIN GPIO_PIN_13
|
#define DEBUG1_PIN GPIO_PIN_13
|
||||||
#define DEBUG2_GPIO GPIOA
|
#define DEBUG2_GPIO GPIOA
|
||||||
|
Loading…
Reference in New Issue
Block a user