Ver código fonte

Fix lpc u8g i2c (#15876)

Chris Pepper 5 anos atrás
pai
commit
4762dfe797
Nenhuma conta vinculada ao e-mail do autor do commit

Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.c → Marlin/src/HAL/HAL_LPC1768/u8g/LCD_I2C_routines.cpp Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar