diff service/rfid_pn532/graphserver.nim @ 397:0bc26b4fc427

a little further on toplevel nim code. event passing is not working Ignore-this: 86bdf86c796f2cf2ce2f245a0468c4eb
author drewp@bigasterisk.com
date Thu, 21 Feb 2019 22:37:04 -0800
parents ff588658de31
children 56af0ca2db10
line wrap: on
line diff
--- a/service/rfid_pn532/graphserver.nim	Sat Jan 19 11:07:27 2019 -0800
+++ b/service/rfid_pn532/graphserver.nim	Thu Feb 21 22:37:04 2019 -0800
@@ -87,3 +87,7 @@
     poll()
 
 
+# Replace graph contents
+proc setGraph*(self: GraphServer) =
+  echo "graph replaced"
+