Browse Source

Fix lpc u8g i2c (#15876)

pull/1/head
Chris Pepper 5 years ago
committed by GitHub
parent
commit
4762dfe797
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.cpp

5
Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.c → Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.cpp

@ -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
Loading…
Cancel
Save