dc/hbj11/flasher: fix build
Change-Id: Ic59ad67ab0cf1a5a1c5c83a03936868ad3c89c2f
diff --git a/dc/hbj11/flasher/bluepill/src/i2c.rs b/dc/hbj11/flasher/bluepill/src/i2c.rs
index 35f52d6..c66a133 100644
--- a/dc/hbj11/flasher/bluepill/src/i2c.rs
+++ b/dc/hbj11/flasher/bluepill/src/i2c.rs
@@ -157,7 +157,7 @@
impl<'a, B: UsbBus, LED: OutputPin> UsbClass<B> for I2CClass<'a, B, LED> {
fn reset(&mut self) {
self.expect_bulk_out = false;
- self.status = Status::OK,
+ self.status = Status::OK;
}
fn control_in(&mut self, xfer: ControlIn<B>) {
diff --git a/dc/hbj11/flasher/bluepill/src/main.rs b/dc/hbj11/flasher/bluepill/src/main.rs
index da6cefd..45279c2 100644
--- a/dc/hbj11/flasher/bluepill/src/main.rs
+++ b/dc/hbj11/flasher/bluepill/src/main.rs
@@ -23,8 +23,9 @@
mod i2c;
mod print;
-/// The main RTIC application object. See RTIC documentation for more information about how to read
-/// this.
+// The main RTIC application object. See RTIC documentation for more information about how to read
+// this.
+
#[app(device = stm32f1xx_hal::stm32, peripherals = true)]
const APP: () = {
struct Resources {