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

Loading…
Cancel
Save