Browse Source

fix some compile error

master
zhaohe 2 years ago
parent
commit
b0a0b48a01
  1. 4
      chip/zuart.cpp
  2. 5
      components/key_monitor/key_service.cpp

4
chip/zuart.cpp

@ -2,7 +2,9 @@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
using namespace iflytop;
static ZUART *s_uart_table[10];

5
components/key_monitor/key_service.cpp

@ -1,4 +1,7 @@
#include "key_service.hpp"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
using namespace iflytop;
#define TAG "KeyService"
void KeyService::initialize(int keyBufferSize, KeyListener_t listener) {
@ -73,4 +76,4 @@ void KeyService::periodicJob() {
for (int i = 0; i < m_numKey; i++) {
processKey(&m_keys[i]);
}
}
}
Loading…
Cancel
Save