diff options
author | barthess <barthess@yandex.ru> | 2017-01-03 10:26:44 +0300 |
---|---|---|
committer | barthess <barthess@yandex.ru> | 2017-01-03 10:26:44 +0300 |
commit | 9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc (patch) | |
tree | 6f82c987a691818b6332060b00daf81fee21d46f | |
parent | 4b1ccfcd68718a0966bee7e0c48c44b80e62beb9 (diff) | |
download | ChibiOS-Contrib-9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc.tar.gz ChibiOS-Contrib-9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc.tar.bz2 ChibiOS-Contrib-9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc.zip |
USB_MSD. Added compile time check about sychronous API.
-rw-r--r-- | os/hal/include/hal_usb_msd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/include/hal_usb_msd.h b/os/hal/include/hal_usb_msd.h index 08241df..b9e5c46 100644 --- a/os/hal/include/hal_usb_msd.h +++ b/os/hal/include/hal_usb_msd.h @@ -48,6 +48,10 @@ #error "Mass storage Driver requires HAL_USE_USB" #endif +#if !USB_USE_WAIT +#error "Mass storage Driver requires USB_USE_WAIT" +#endif + /*===========================================================================*/ /* Driver data structures and types. */ /*===========================================================================*/ |