We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10f873e + f9c6625 commit 2f5d2bfCopy full SHA for 2f5d2bf
3 files changed
Cargo.lock
Cargo.toml
@@ -37,11 +37,9 @@ pio-proc = "0.2"
37
# Hardware locks for sharing data with interrupts
38
critical-section = "1.0"
39
# Commands for talking to a Neotron BMC. The tag is for the repo as a whole, of which the commands crate is a small part.
40
-neotron-bmc-commands = { version = "0.1.0", git = "https://github.com/neotron-compute/neotron-bmc", tag = "v0.5.2" }
+neotron-bmc-commands = { version = "0.2.0" }
41
# Protocol for talking to a Neotron BMC. The tag is for the repo as a whole, of which the protocol crate is a small part.
42
-neotron-bmc-protocol = { version = "0.1.0", git = "https://github.com/neotron-compute/neotron-bmc", tag = "v0.5.2", features = [
43
- "defmt"
44
-] }
+neotron-bmc-protocol = { version = "0.1.0", features = ["defmt"] }
45
# Time and frequency related functions
46
fugit = "0.3"
47
# PS/2 scancode decoding
src/main.rs
@@ -1173,18 +1173,14 @@ impl Hardware {
1173
fn play_startup_tune(&mut self) -> Result<(), ()> {
1174
// (delay (ms), command, data)
1175
let seq: &[(u16, Command, u8)] = &[
1176
- // NB: Due to a BMC bug, this sets the high period
1177
(0, Command::SpeakerPeriodLow, 137),
1178
- // NB: Due to a BMC bug, this sets the low period
1179
(0, Command::SpeakerPeriodHigh, 0),
1180
(0, Command::SpeakerDutyCycle, 127),
1181
// This triggers the beep to occur
1182
(70, Command::SpeakerDuration, 7),
1183
1184
(0, Command::SpeakerPeriodLow, 116),
1185
1186
1187
1188
(0, Command::SpeakerPeriodLow, 97),
1189
1190
0 commit comments