mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-14 18:55:48 +00:00
Add debug pin
This commit is contained in:
parent
04787576fe
commit
1ddc290b20
1 changed files with 11 additions and 0 deletions
11
stereo_mix/drivers/debug_pin.h
Normal file
11
stereo_mix/drivers/debug_pin.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#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
|
Loading…
Reference in a new issue