Semafor

Files at this revision

API Documentation at this revision

Comitter:
zradic
Date:
Sun Sep 04 10:06:33 2022 +0000
Parent:
0:bcbee14067e6
Commit message:
...

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Sun Sep 04 09:27:49 2022 +0000
+++ b/main.cpp	Sun Sep 04 10:06:33 2022 +0000
@@ -7,7 +7,7 @@
         led = 0;
     }
     void flip() {
-        if(crveniLed==1){
+        if(brojac==0){
             led = !led;
         }
         else{