mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Added console message implementation for ESP8266. (#1398)
JerryScript-DCO-1.0-Signed-off-by: Slavey Karadzhov slaff@attachix.com
This commit is contained in:
parent
3ce48be152
commit
2ef89eafbf
@ -18,6 +18,7 @@
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "jerry-core/jerry-port.h"
|
||||
extern int ets_putc (int);
|
||||
|
||||
/**
|
||||
* Provide console message implementation for the engine.
|
||||
@ -28,8 +29,7 @@ jerry_port_console (const char *format, /**< format string */
|
||||
{
|
||||
va_list args;
|
||||
va_start (args, format);
|
||||
/* TODO, uncomment when vprint link is ok */
|
||||
/* vfprintf (stdout, format, args); */
|
||||
ets_vprintf (ets_putc, format, args);
|
||||
va_end (args);
|
||||
} /* jerry_port_console */
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user