Fix warning: invalid attribute
Former-commit-id: d3a6a4f23c343ba9960269938e1127729271545d Former-commit-id: 0fc0461c38531a8a841d7dbab14dd4796ab3a77b
This commit is contained in:
parent
7512bad3a0
commit
82fa433e26
|
@ -26,11 +26,11 @@ fn num2bcd(mut num: u8) -> u8 {
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Clone, Copy, Debug)]
|
#[derive(Serialize, Deserialize, Clone, Copy, Debug)]
|
||||||
enum Port {
|
enum Port {
|
||||||
#[doc("Serial Clock")]
|
/// Serial Clock
|
||||||
Sck = 0,
|
Sck = 0,
|
||||||
#[doc("Serial IO")]
|
/// Serial IO
|
||||||
Sio = 1,
|
Sio = 1,
|
||||||
#[doc("Chip Select")]
|
/// Chip Select
|
||||||
Cs = 2,
|
Cs = 2,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue