Fix random number generation on ESP8266
This patch uses the onboard RTC for generating random seed. It also improves the print handler to support float values. The rom segment is slightly increased to fit to the latest master. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik [email protected]
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
function sysloop(ticknow) {
|
||||
blink();
|
||||
};
|
||||
print("Random generated number: ", Math.random());
|
||||
print("main js OK");
|
||||
|
||||
Reference in New Issue
Block a user