Browse Source

uavcan: stm32h7 driver silence debug output

release/1.12
Daniel Agar 4 years ago committed by GitHub
parent
commit
5db906314a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/drivers/uavcan/uavcan_drivers/stm32h7/driver/src/internal.hpp

2
src/drivers/uavcan/uavcan_drivers/stm32h7/driver/src/internal.hpp

@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
#ifndef UAVCAN_STM32H7_LOG
// syslog() crashes the system in this context
// # if UAVCAN_STM32H7_NUTTX && CONFIG_ARCH_LOWPUTC
# if 1
# if 0
# define UAVCAN_STM32H7_LOG(fmt, ...) printf("uavcan_stm32: \n" fmt "\n", ##__VA_ARGS__)
# else
# define UAVCAN_STM32H7_LOG(...) ((void)0)

Loading…
Cancel
Save