Browse Source

Fix sendPortailFrame function issue

Signed-off-by: ewft <bnj@ewft.org>
ewft 7 years ago
parent
commit
385d4033aa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      portail.c

+ 2 - 2
portail.c

@@ -61,7 +61,7 @@ void createPortailCommand(unsigned long int id, char section)
  * @param frame the data to send
  * @param repeat number of repeatition
  */
-void sendFrame(BYTE_BUFFER frame, unsigned int repeat)
+void sendPortailFrame(unsigned int repeat)
 {
     unsigned int i;
     // switch to real time
@@ -92,7 +92,7 @@ void sendPortailCommand(unsigned int id, char button, unsigned char repeat)
     // build the command
     createPortailCommand(id, button);
        // send data
-    sendFrame(repeat);
+    sendPortailFrame(repeat);
     // release the memory
 }