Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2022-09-20 22:47:13 +0300
committerDavid Crocker <dcrocker@eschertech.com>2022-09-23 15:47:03 +0300
commitde9eede5f17bc6adf8c058e7ab227ed2161c94bc (patch)
tree4a4066e9431077fb196ea9718fccf659a958d818 /src/Networking/ESP8266WiFi/WiFiInterface.h
parentb30426ffd005721ba226d5e67a40a4883f24dd36 (diff)
Moved wifi transfer buffers into non-cached RAM on SAME70
Diffstat (limited to 'src/Networking/ESP8266WiFi/WiFiInterface.h')
-rw-r--r--src/Networking/ESP8266WiFi/WiFiInterface.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Networking/ESP8266WiFi/WiFiInterface.h b/src/Networking/ESP8266WiFi/WiFiInterface.h
index 5776f1e6..42a41f9b 100644
--- a/src/Networking/ESP8266WiFi/WiFiInterface.h
+++ b/src/Networking/ESP8266WiFi/WiFiInterface.h
@@ -32,6 +32,18 @@ private:
uint32_t padding;
};
+struct MessageBufferOut
+{
+ MessageHeaderSamToEsp hdr;
+ uint8_t data[MaxDataLength]; // data to send
+};
+
+struct alignas(16) MessageBufferIn
+{
+ MessageHeaderEspToSam hdr;
+ uint8_t data[MaxDataLength]; // data to send
+};
+
// The main network class that drives the network.
class WiFiInterface : public NetworkInterface
{
@@ -123,18 +135,6 @@ private:
bool lastDataReadyPinState;
uint8_t risingEdges;
- struct MessageBufferOut
- {
- MessageHeaderSamToEsp hdr;
- uint8_t data[MaxDataLength]; // data to send
- };
-
- struct alignas(16) MessageBufferIn
- {
- MessageHeaderEspToSam hdr;
- uint8_t data[MaxDataLength]; // data to send
- };
-
MessageBufferOut *bufferOut;
MessageBufferIn *bufferIn;