Explorar o código

move transport reset interface to global shellmatta.h - this shall be user accessible

stefan %!s(int64=3) %!d(string=hai) anos
pai
achega
271a67b58e
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 2 0
      api/shellmatta.h
  2. 0 2
      src/shellmatta_transport.h

+ 2 - 0
api/shellmatta.h

@@ -271,6 +271,8 @@ shellmatta_retCode_t shellmatta_opt_long(   shellmatta_handle_t         handle,
                                             char                        **argument,
                                             uint32_t                    *argLen);
 
+shellmatta_retCode_t shellmatta_transport_reset(shellmatta_transport_layer_t *transportLayer);
+
 shellmatta_retCode_t shellmatta_transport_flush(shellmatta_transport_layer_t *transportLayer);
 
 #ifndef SHELLMATTA_STRIP_PRINTF

+ 0 - 2
src/shellmatta_transport.h

@@ -45,8 +45,6 @@ typedef struct __attribute__((__packed__))
 #define SHELLMATTA_TRANSPORT_PACKET_SET_ADDRESS_RESPOND     0x84u   /**< UNUSED: packet type to respond with a set address               */
 
 
-shellmatta_retCode_t shellmatta_transport_reset(shellmatta_transport_layer_t *transportLayer);
-
 shellmatta_retCode_t shellmatta_transport_init( shellmatta_transport_layer_t    *transportLayer,
                                                 shellmatta_write_t              writeFct);