forked from hswaw/hscloud
dc/hbj11/flasher: fix build
Change-Id: Ic59ad67ab0cf1a5a1c5c83a03936868ad3c89c2f
This commit is contained in:
parent
41b882d053
commit
c8b14e75d7
2 changed files with 4 additions and 3 deletions
|
@ -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> {
|
impl<'a, B: UsbBus, LED: OutputPin> UsbClass<B> for I2CClass<'a, B, LED> {
|
||||||
fn reset(&mut self) {
|
fn reset(&mut self) {
|
||||||
self.expect_bulk_out = false;
|
self.expect_bulk_out = false;
|
||||||
self.status = Status::OK,
|
self.status = Status::OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
fn control_in(&mut self, xfer: ControlIn<B>) {
|
fn control_in(&mut self, xfer: ControlIn<B>) {
|
||||||
|
|
|
@ -23,8 +23,9 @@ use usbd_webusb::WebUsb;
|
||||||
mod i2c;
|
mod i2c;
|
||||||
mod print;
|
mod print;
|
||||||
|
|
||||||
/// The main RTIC application object. See RTIC documentation for more information about how to read
|
// The main RTIC application object. See RTIC documentation for more information about how to read
|
||||||
/// this.
|
// this.
|
||||||
|
|
||||||
#[app(device = stm32f1xx_hal::stm32, peripherals = true)]
|
#[app(device = stm32f1xx_hal::stm32, peripherals = true)]
|
||||||
const APP: () = {
|
const APP: () = {
|
||||||
struct Resources {
|
struct Resources {
|
||||||
|
|
Loading…
Reference in a new issue