drtioaux: fix compiler warnings

This commit is contained in:
Sebastien Bourdeauducq 2017-02-25 12:18:57 +08:00
parent f017d1771f
commit 98be556143

View File

@ -8,9 +8,11 @@ extern crate board;
extern crate byteorder;
mod proto;
#[cfg(has_drtio)]
mod crc32;
use std::io::{self, Read, Write};
#[cfg(has_drtio)]
use core::slice;
use proto::*;