File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed
Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -1430,13 +1430,13 @@ extern "C" {
14301430 /*
14311431 ** Serial Port Function Prototypes.
14321432 */
1433- void Serial_Init (void );
1434- void Serial_DeInit (void );
1435- uint32_t Serial_Available (void );
1436- bool Serial_Read (uint8_t * in_byte );
1437- void Serial_WriteByte (uint8_t out_byte );
1438- void Serial_WriteBuffer (uint8_t const * out_bytes , uint32_t size );
1439- void Serial_MainFunction (void );
1433+ void Serial_Init (void );
1434+ void Serial_DeInit (void );
1435+ bool Serial_Available (void );
1436+ bool Serial_Read (uint8_t * in_byte );
1437+ void Serial_WriteByte (uint8_t out_byte );
1438+ void Serial_WriteBuffer (uint8_t const * out_bytes , uint32_t size );
1439+ void Serial_MainFunction (void );
14401440
14411441 #endif
14421442
Original file line number Diff line number Diff line change @@ -175,12 +175,13 @@ class EthernetUdpClientWrapper : public ClientWrapper {
175175
176176 private:
177177
178- EthernetUDP* m_udp;
179- IPAddress m_remoteIp;
180- uint16_t m_remotePort;
181- uint8_t m_buf[XCP_COMM_BUFLEN];
182- size_t m_size;
183- size_t m_offset;
178+ EthernetUDP* m_udp;
179+ IPAddress m_remoteIp;
180+ uint16_t m_remotePort;
181+ uint8_t m_buf[XCP_COMM_BUFLEN];
182+ size_t m_size;
183+ size_t m_offset;
184+ EthernetUdpClientWrapper m_udpClientWrapper;
184185};
185186
186187class EthernetAdapter : public ArduinoNetworkIf {
Original file line number Diff line number Diff line change @@ -943,7 +943,7 @@ XCP_STATIC void Xcp_Upload(uint8_t len) {
943943
944944void Xcp_DispatchCommand (Xcp_PduType const * const pdu ) {
945945 const uint8_t cmd = pdu -> data [0 ];
946- DBG_TRACE2 ("<- CMD: 0x%02X\n\r" , cmd );
946+ DBG_TRACE1 ("<- " );
947947
948948 if (Xcp_State .connected == (bool )XCP_TRUE ) {
949949 /*DBG_PRINT2("CMD: [%02X]\n\r", cmd); */
You can’t perform that action at this time.
0 commit comments