Fix lpc u8g i2c (#15876)

This commit is contained in:
Chris Pepper 2019-11-12 01:59:36 +00:00 committed by GitHub
parent af61f37b65
commit 4762dfe797
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,8 @@
#ifdef TARGET_LPC1768 #ifdef TARGET_LPC1768
extern int millis();
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -34,7 +36,8 @@
#include <lpc17xx_libcfg_default.h> #include <lpc17xx_libcfg_default.h>
#include "../../../core/millis_t.h" #include "../../../core/millis_t.h"
extern int millis();
////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////
// These two routines are exact copies of the lpc17xx_i2c.c routines. Couldn't link to // These two routines are exact copies of the lpc17xx_i2c.c routines. Couldn't link to