瀏覽代碼

Fix sendPortailFrame function issue

Signed-off-by: ewft <bnj@ewft.org>
ewft 7 年之前
父節點
當前提交
385d4033aa
共有 1 個文件被更改,包括 2 次插入2 次删除
  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
 }