Chibios: add more guards for transmitting (fix a deadlock bug).

This commit is contained in:
flabbergast 2016-01-22 22:19:02 +00:00
parent b1b30f1675
commit 72c52d30c8
5 changed files with 65 additions and 5 deletions

View file

@ -336,6 +336,18 @@
#define SPI_USE_MUTUAL_EXCLUSION TRUE
#endif
/*===========================================================================*/
/* USB driver related settings. */
/*===========================================================================*/
/**
* @brief Enables synchronous APIs.
* @note Disabling this option saves both code and data space.
*/
#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__)
#define USB_USE_WAIT TRUE
#endif
#endif /* _HALCONF_H_ */
/** @} */