diff options
Diffstat (limited to 'src/arch/esp8266')
| -rw-r--r-- | src/arch/esp8266/Makefile.inc | 5 | ||||
| -rw-r--r-- | src/arch/esp8266/driver/uptime.cc | 9 | 
2 files changed, 4 insertions, 10 deletions
| diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc index 3b1c8cb..0484985 100644 --- a/src/arch/esp8266/Makefile.inc +++ b/src/arch/esp8266/Makefile.inc @@ -46,4 +46,7 @@ arch_clean:  	rm -f ${OBJECTS}  	rm -f build/system.ar -.PHONY: arch_clean program +monitor: +	screen /dev/ttyUSB0 115200 + +.PHONY: arch_clean monitor program diff --git a/src/arch/esp8266/driver/uptime.cc b/src/arch/esp8266/driver/uptime.cc index 51cc617..388edb6 100644 --- a/src/arch/esp8266/driver/uptime.cc +++ b/src/arch/esp8266/driver/uptime.cc @@ -1,12 +1,3 @@  #include "driver/uptime.h" -extern "C" { -#include "osapi.h" -#include "user_interface.h" -} - -uint32_t Uptime::get() -{ -	return system_get_time(); -}  Uptime uptime; | 
