From c8b14e75d7b23cc6d2913f4b52c980dc320df3b1 Mon Sep 17 00:00:00 2001 From: Serge Bazanski Date: Sat, 27 Mar 2021 11:52:44 +0000 Subject: [PATCH] dc/hbj11/flasher: fix build Change-Id: Ic59ad67ab0cf1a5a1c5c83a03936868ad3c89c2f --- dc/hbj11/flasher/bluepill/src/i2c.rs | 2 +- dc/hbj11/flasher/bluepill/src/main.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dc/hbj11/flasher/bluepill/src/i2c.rs b/dc/hbj11/flasher/bluepill/src/i2c.rs index 35f52d68..c66a1338 100644 --- a/dc/hbj11/flasher/bluepill/src/i2c.rs +++ b/dc/hbj11/flasher/bluepill/src/i2c.rs @@ -157,7 +157,7 @@ impl I2CClass<'_, B, LED> { impl<'a, B: UsbBus, LED: OutputPin> UsbClass 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) { diff --git a/dc/hbj11/flasher/bluepill/src/main.rs b/dc/hbj11/flasher/bluepill/src/main.rs index da6cefdc..45279c29 100644 --- a/dc/hbj11/flasher/bluepill/src/main.rs +++ b/dc/hbj11/flasher/bluepill/src/main.rs @@ -23,8 +23,9 @@ use usbd_webusb::WebUsb; 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 {