Skip to content

Commit

Permalink
using portable_endian.h for cross platform
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaisal committed Sep 12, 2024
1 parent 67a85e7 commit 1281f5a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/csp_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void csp_send_direct(csp_id_t* idout, csp_packet_t * packet, csp_iface_t * route

local_found = 1;

/* Do not send back to same inteface (split horizon)
/* Do not send back to same interface (split horizon)
* This check is is similar to that below, but faster */
if (iface == routed_from) {
continue;
Expand Down
2 changes: 1 addition & 1 deletion src/csp_rdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include <stdlib.h>
#include <string.h>
#include <endian.h>
#include <portable_endian.h>

#include <csp/csp.h>
#include <csp/csp_debug.h>
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/csp_if_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <csp/interfaces/csp_if_eth_pbuf.h>
#include <csp/arch/csp_time.h>

#include <endian.h>
#include <portable_endian.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Expand Down

0 comments on commit 1281f5a

Please sign in to comment.