mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 04:34:43 +04:00
lib: digital_signal: digital_sequence: add furi_hal.h wrapped in ifdefs (#3964)
Per the comment at the top of the file, defining DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN
to be a GpioPin variable name should allow additional debug output on
that pin. However, this would not work without modifying the file as
well to add the furi_hal.h header. Wrap including that header in the
same macro define to automatically include it when used.
Fixes: d92b0a82cc ("NFC refactoring (#3050)")
Signed-off-by: Kris Bahnsen <Kris@KBEmbedded.com>
Co-authored-by: hedger <hedger@users.noreply.github.com>
This commit is contained in:
@@ -15,6 +15,9 @@
|
|||||||
* Example:
|
* Example:
|
||||||
* ./fbt --extra-define=DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN=gpio_ext_pb3
|
* ./fbt --extra-define=DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN=gpio_ext_pb3
|
||||||
*/
|
*/
|
||||||
|
#ifdef DIGITAL_SIGNAL_DEBUG_OUTPUT_PIN
|
||||||
|
#include <furi_hal.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#define TAG "DigitalSequence"
|
#define TAG "DigitalSequence"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user