Fix warning: invalid attribute

Former-commit-id: d3a6a4f23c343ba9960269938e1127729271545d
Former-commit-id: 0fc0461c38531a8a841d7dbab14dd4796ab3a77b
This commit is contained in:
Michel Heily 2021-06-09 23:39:43 +03:00
parent 7512bad3a0
commit 82fa433e26

View file

@ -26,11 +26,11 @@ fn num2bcd(mut num: u8) -> u8 {
#[derive(Serialize, Deserialize, Clone, Copy, Debug)]
enum Port {
#[doc("Serial Clock")]
/// Serial Clock
Sck = 0,
#[doc("Serial IO")]
/// Serial IO
Sio = 1,
#[doc("Chip Select")]
/// Chip Select
Cs = 2,
}