firmware for my Touchscreen E-Paper Input Module for Framework Laptop 16
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

fw16-epd-program-interface: add serial_number_str() method

+6
+6
fw16-epd-program-interface/src/lib.rs
··· 38 38 pub serial_number: extern "C" fn() -> &'static [u8; 16] 39 39 } 40 40 41 + impl ProgramFunctionTable { 42 + pub fn serial_number_str(&self) -> &'static str { 43 + unsafe { core::str::from_utf8_unchecked((self.serial_number)()) } 44 + } 45 + } 46 + 41 47 #[repr(u8)] 42 48 #[derive(Copy, Clone, Debug, defmt::Format)] 43 49 pub enum TouchEventType {