Dolda2000 GitWeb
/
kaka
/
cakelight.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added an Ant build file and a small SPI test
[kaka/cakelight.git]
/
src
/
kaka
/
cakelight
/
GuiTest.java
diff --git
a/src/kaka/cakelight/GuiTest.java
b/src/kaka/cakelight/GuiTest.java
index
a3cabf4
..
b73d37f
100644
(file)
--- a/
src/kaka/cakelight/GuiTest.java
+++ b/
src/kaka/cakelight/GuiTest.java
@@
-56,12
+56,7
@@
public class GuiTest extends Application {
private void setupCakeLight() {
log("Running with config:\n" + config);
private void setupCakeLight() {
log("Running with config:\n" + config);
- cakelight = new CakeLight(config, new LedController() {
- @Override
- public void accept(LedFrame ledFrame) {
- if (!paused) drawLEDs(canvas.getGraphicsContext2D(), ledFrame);
- }
- });
+ cakelight = new CakeLight(config);
VideoMode mode = new VideoMode();
cakelight.setMode(mode);
cakelight.startLoop();
VideoMode mode = new VideoMode();
cakelight.setMode(mode);
cakelight.startLoop();