Merge branch 'ofw-dev' into dev

This commit is contained in:
MX
2023-08-22 21:53:50 +03:00
78 changed files with 336 additions and 303 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ uint8_t bit_lib_get_bits(const uint8_t* data, size_t position, uint8_t length) {
if(shift == 0) {
return data[position / 8] >> (8 - length);
} else {
// TODO fix read out of bounds
// TODO FL-3534: fix read out of bounds
uint8_t value = (data[position / 8] << (shift));
value |= data[position / 8 + 1] >> (8 - shift);
value = value >> (8 - length);