mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-17 02:13:19 +03:00
Update nice_flor_s.c
This commit is contained in:
parent
fc79f033b1
commit
ee00e03957
@ -149,13 +149,13 @@ static bool
|
||||
};
|
||||
|
||||
if (btn == 0x1) {
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[0][i]) << 44 | (temp_parcel & 0x00FFFFFFFFFFF);
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[0][i]) << 44 | (temp_parcel & 0xFFFFFFFFFFF);
|
||||
} else if (btn == 0x2) {
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[1][i]) << 44 | (temp_parcel & 0x00FFFFFFFFFFF);
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[1][i]) << 44 | (temp_parcel & 0xFFFFFFFFFFF);
|
||||
} else if (btn == 0x4) {
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[2][i]) << 44 | (temp_parcel & 0x00FFFFFFFFFFF);
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[2][i]) << 44 | (temp_parcel & 0xFFFFFFFFFFF);
|
||||
} else if (btn == 0x8) {
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[3][i]) << 44 | (temp_parcel & 0x00FFFFFFFFFFF);
|
||||
instance->generic.data = btn << 4 | (0xF ^ btn ^ loops[3][i]) << 44 | (temp_parcel & 0xFFFFFFFFFFF);
|
||||
}
|
||||
//Send header
|
||||
for(uint8_t i = 35; i > 0; i--) {
|
||||
|
Loading…
Reference in New Issue
Block a user