1
0
Fork 0

dc/hbj11/flasher: fix build

Change-Id: Ic59ad67ab0cf1a5a1c5c83a03936868ad3c89c2f
master
q3k 2021-03-27 11:52:44 +00:00 committed by q3k
parent 41b882d053
commit c8b14e75d7
2 changed files with 4 additions and 3 deletions

View File

@ -157,7 +157,7 @@ impl<B: UsbBus, LED: OutputPin> I2CClass<'_, B, LED> {
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>) {

View File

@ -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 {