Browse Source

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

stefan 3 years ago
parent
commit
271a67b58e
2 changed files with 2 additions and 2 deletions
  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);