Skip to content

Commit

Permalink
Update examples/printer.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Urban <[email protected]>
  • Loading branch information
tuna-f1sh and surban authored Dec 6, 2024
1 parent 352bf13 commit ee0c774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/printer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use usb_gadget::{default_udc, Class, Config, Gadget, Id, RegGadget, Strings, GAD

// Printer read buffer size, best equal to EP wMaxPacketSize
const BUF_SIZE: usize = 512;
// Printer sysfs path - 0 assumes we are the only printer gadget!
// Printer device path - 0 assumes we are the only printer gadget!
const SYSFS_PATH: &str = "/dev/g_printer0";
// Pages to 'print' before exiting
const PRINT_EXIT_COUNT: u8 = 1;
Expand Down

0 comments on commit ee0c774

Please sign in to comment.