Build fails due to an unused field, allow warnings

This commit is contained in:
Kjetil Kjeka 2017-07-04 00:59:18 +02:00
parent 7b8107af46
commit b1b3c806a8

View File

@ -1,4 +1,4 @@
# ! [ doc = "Peripheral access API for S32K144 microcontrollers (generated using svd2rust v0.10.0)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.10.0/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ deny ( warnings ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ feature ( optin_builtin_traits ) ] # ! [ no_std ]extern crate cortex_m ;
# ! [ doc = "Peripheral access API for S32K144 microcontrollers (generated using svd2rust v0.10.0)\n\nYou can find an overview of the API [here].\n\n[here]: https://docs.rs/svd2rust/0.10.0/svd2rust/#peripheral-api" ] # ! [ deny ( missing_docs ) ] # ! [ allow ( non_camel_case_types ) ] # ! [ feature ( const_fn ) ] # ! [ feature ( optin_builtin_traits ) ] # ! [ no_std ]extern crate cortex_m ;
extern crate vcell ;
use core::ops::Deref;
use cortex_m::peripheral::Peripheral;