eurorack/stereo_mix/drivers/debug_pin.h

12 lines
256 B
C
Raw Normal View History

2020-04-26 23:01:55 +00:00
#pragma once
#ifdef ENABLE_DEBUG_PIN
#define DEBUG_PIN
#define DEBUG_ON HAL_GPIO_WritePin(GPIOC, GPIO_PIN_14, GPIO_PIN_SET);
#define DEBUG_OFF HAL_GPIO_WritePin(GPIOC, GPIO_PIN_14, GPIO_PIN_RESET);
#else
#define DEBUG_ON {};
#define DEBUG_OFF {};
#endif