Some small tweaks

This commit is contained in:
2022-06-15 19:07:37 +02:00
parent d05f767827
commit 097814ea25
5 changed files with 33 additions and 24 deletions

View File

@@ -62,12 +62,8 @@ namespace can {
#pragma pack(1)
struct Volume {
uint8_t _upper : 3;
uint8_t volume : 5;
bool scrolled() {
return _upper == 0b000;
}
uint8_t _1 : 3;
};
#pragma pack()
}