Browse Source

Fix lpc u8g i2c (#15876)

Chris Pepper 5 years ago
parent
commit
4762dfe797
No account linked to committer's email address
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.cpp

Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.c → Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.cpp View File

25
 
25
 
26
 #ifdef TARGET_LPC1768
26
 #ifdef TARGET_LPC1768
27
 
27
 
28
+extern int millis();
29
+
28
 #ifdef __cplusplus
30
 #ifdef __cplusplus
29
   extern "C" {
31
   extern "C" {
30
 #endif
32
 #endif
34
 #include <lpc17xx_libcfg_default.h>
36
 #include <lpc17xx_libcfg_default.h>
35
 
37
 
36
 #include "../../../core/millis_t.h"
38
 #include "../../../core/millis_t.h"
37
-extern int millis();
39
+
40
+
38
 //////////////////////////////////////////////////////////////////////////////////////
41
 //////////////////////////////////////////////////////////////////////////////////////
39
 
42
 
40
 // These two routines are exact copies of the lpc17xx_i2c.c routines.  Couldn't link to
43
 // These two routines are exact copies of the lpc17xx_i2c.c routines.  Couldn't link to

Loading…
Cancel
Save