We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 427e65a commit 1c2b977Copy full SHA for 1c2b977
sxbp/serialisation.c
@@ -130,7 +130,7 @@ static void sxbp_write_sxbp_data_line(
130
) {
131
size_t index = *start_index;
132
// the leading 2 bits of the first byte are used for the direction
133
- buffer->bytes[index] = line.direction << 6u;
+ buffer->bytes[index] = line.direction << 6;
134
// the next 6 bits of the first byte are used for the first 6 bits of length
135
buffer->bytes[index] |= (line.length >> 24);
136
// move on to the next byte
0 commit comments