tonarino / panel-firmware

Firmware for the volume control hardware, targeting an STM32F4 board
MIT License
75 stars 10 forks source link

Report git SHA1 in USB device 'product' or 'serial number' field #20

Closed bschwind closed 3 years ago

bschwind commented 3 years ago

This will be a convenient way to know which version of the firmware a particular device is running.

https://github.com/tonarino/panel-firmware/blob/397a6431e0b2cb0e1f366b4dd9d57b9ea18678cc/src/main.rs#L87-L88