summaryrefslogtreecommitdiff
path: root/assignment-13/uFPL/Bootstrap.icl
diff options
context:
space:
mode:
authorCamil Staps2018-01-07 17:12:34 +0100
committerCamil Staps2018-01-07 17:12:34 +0100
commit8578faf533ef5ed200b722ebc8551f32ace3a5cf (patch)
treee149a38e0ac89666b41b72f3e5b9f02374867fab /assignment-13/uFPL/Bootstrap.icl
parentIgnore .ino (diff)
Cleanup code
Diffstat (limited to 'assignment-13/uFPL/Bootstrap.icl')
-rw-r--r--assignment-13/uFPL/Bootstrap.icl5
1 files changed, 2 insertions, 3 deletions
diff --git a/assignment-13/uFPL/Bootstrap.icl b/assignment-13/uFPL/Bootstrap.icl
index 1ca75ac..4429cf5 100644
--- a/assignment-13/uFPL/Bootstrap.icl
+++ b/assignment-13/uFPL/Bootstrap.icl
@@ -7,7 +7,6 @@ import StdString
from Data.Func import $
-import uFPL.Arduino
import uFPL.C
import uFPL
@@ -127,9 +126,9 @@ where
"bool " +++ short +++ "dirty(struct " +++ short +++ "share *share) {" +:
" if (share->dirty) {" +:
" share->dirty--;" +:
- " return 1;" +:
+ " return true;" +:
" }" +:
- " return 0;" +:
+ " return false;" +:
"}"
instance zero CProg where zero = {bootstrap=rts, globals=sharesMap gen predefShares, funs=[]}