drtioaux: fix compiler warnings

This commit is contained in:
Sebastien Bourdeauducq 2017-02-25 12:18:57 +08:00
parent f017d1771f
commit 98be556143
1 changed files with 2 additions and 0 deletions

View File

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