mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 12:04:19 +00:00
Suppress data[] array warning
This commit is contained in:
parent
e84389c976
commit
59508edf64
@ -306,6 +306,9 @@ public:
|
|||||||
PORT_REDIRECT(card.transfer_port_index);
|
PORT_REDIRECT(card.transfer_port_index);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Warray-bounds"
|
||||||
|
|
||||||
while (PENDING(millis(), transfer_window)) {
|
while (PENDING(millis(), transfer_window)) {
|
||||||
switch (stream_state) {
|
switch (stream_state) {
|
||||||
/**
|
/**
|
||||||
@ -439,6 +442,8 @@ public:
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
||||||
void dispatch() {
|
void dispatch() {
|
||||||
|
Loading…
Reference in New Issue
Block a user