mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
JS: Fix NULL ptr in spi example
not sure why this doesnt work, it worked before
This commit is contained in:
@@ -8,8 +8,9 @@ let spi = require("spi");
|
||||
// Display textbox so user can scroll to see all output.
|
||||
let eventLoop = require("event_loop");
|
||||
let gui = require("gui");
|
||||
let textBoxView = require("gui/text_box");
|
||||
let text = "SPI demo\n";
|
||||
let textBox = require("gui/text_box").makeWith({
|
||||
let textBox = textBoxView.makeWith({
|
||||
focus: "end",
|
||||
font: "text",
|
||||
text: text,
|
||||
|
||||
Reference in New Issue
Block a user