libboard: fix compiler warning on not(has_i2c)

This commit is contained in:
Sebastien Bourdeauducq 2017-06-19 14:57:15 +08:00
parent 5d63489080
commit 6c6bb67618
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#[cfg(has_i2c)]
use csr;
#[cfg(has_i2c)]