Explorar o código

Fix sendPortailFrame function issue

Signed-off-by: ewft <bnj@ewft.org>
ewft %!s(int64=7) %!d(string=hai) anos
pai
achega
385d4033aa
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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
 }