forked from M-Labs/thermostat
s/tecpak/thermostat/g
This commit is contained in:
parent
9e23b14ace
commit
175b88d0e6
|
@ -121,7 +121,7 @@ fn report_to(channel: usize, channels: &mut Channels, socket: &mut TcpSocket) ->
|
||||||
#[entry]
|
#[entry]
|
||||||
fn main() -> ! {
|
fn main() -> ! {
|
||||||
init_log();
|
init_log();
|
||||||
info!("tecpak");
|
info!("thermostat");
|
||||||
|
|
||||||
let mut cp = CorePeripherals::take().unwrap();
|
let mut cp = CorePeripherals::take().unwrap();
|
||||||
cp.SCB.enable_icache();
|
cp.SCB.enable_icache();
|
||||||
|
|
|
@ -30,7 +30,7 @@ impl State {
|
||||||
let serial = SerialPort::new(bus);
|
let serial = SerialPort::new(bus);
|
||||||
let dev = UsbDeviceBuilder::new(bus, UsbVidPid(0x16c0, 0x27dd))
|
let dev = UsbDeviceBuilder::new(bus, UsbVidPid(0x16c0, 0x27dd))
|
||||||
.manufacturer("M-Labs")
|
.manufacturer("M-Labs")
|
||||||
.product("tecpak")
|
.product("thermostat")
|
||||||
.device_release(0x20)
|
.device_release(0x20)
|
||||||
.self_powered(true)
|
.self_powered(true)
|
||||||
.device_class(usbd_serial::USB_CLASS_CDC)
|
.device_class(usbd_serial::USB_CLASS_CDC)
|
||||||
|
|
Loading…
Reference in New Issue