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 5412558 commit 6050351Copy full SHA for 6050351
main.c
@@ -137,6 +137,18 @@ static void command_loop(void)
137
sendbyte_blocking(0x01);
138
sendbyte_blocking(0x00);
139
break;
140
+ case S_CMD_Q_RDNMAXLEN:
141
+ case S_CMD_Q_WRNMAXLEN:
142
+ {
143
+ sendbyte_blocking(S_ACK);
144
+
145
+ // Break down MAX_BUFFER_SIZE into three bytes (24 bits) in little-endian format
146
+ sendbyte_blocking(MAX_BUFFER_SIZE & 0xFF); // LSB
147
+ sendbyte_blocking((MAX_BUFFER_SIZE >> 8) & 0xFF); // Middle byte
148
+ sendbyte_blocking((MAX_BUFFER_SIZE >> 16) & 0xFF); // MSB
149
150
+ break;
151
+ }
152
case S_CMD_Q_CMDMAP:
153
{
154
static const uint32_t cmdmap[8] = {
0 commit comments