let's try to wrap this up
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
// This file was auto-generated by the libcsp-cargo-build library
|
||||
// This file was auto-generated by libcsp-cargo-build v0.1.0
|
||||
#define CSP_POSIX 1
|
||||
#define CSP_ZEPHYR 0
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// This file was auto-generated by the libcsp-cargo-build library
|
||||
// This file was auto-generated by libcsp-cargo-build v0.1.0
|
||||
pub const CSP_CONN_RXQUEUE_LEN: usize = 16;
|
||||
pub const CSP_QFIFO_LEN: usize = 16;
|
||||
pub const CSP_PORT_MAX_BIND: usize = 16;
|
||||
|
@ -10,9 +10,9 @@ use std::{
|
||||
|
||||
use libcsp::{
|
||||
csp_accept_guarded, csp_bind, csp_buffer_get, csp_conn_dport, csp_conn_print_table,
|
||||
csp_connect_guarded, csp_iflist_print, csp_init, csp_listen, csp_ping, csp_read_guarded,
|
||||
csp_reboot, csp_route_work, csp_send, csp_service_handler, ConnectOpts, CspError, CspSocket,
|
||||
MsgPriority, SocketFlags, CSP_ANY, CSP_LOOPBACK,
|
||||
csp_connect_guarded, csp_init, csp_listen, csp_ping, csp_read_guarded, csp_reboot,
|
||||
csp_route_work, csp_send, csp_service_handler, iflist::csp_iflist_print, ConnectOpts, CspError,
|
||||
CspSocket, MsgPriority, SocketFlags, CSP_ANY, CSP_LOOPBACK,
|
||||
};
|
||||
|
||||
const MY_SERVER_PORT: i32 = 10;
|
||||
|
Reference in New Issue
Block a user