Skip to content

Commit

Permalink
operator fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
emrekaankocoglu committed Aug 8, 2022
1 parent 16f10ca commit bc49cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def c8ySend(files):
payload=json.dumps(template)
os.system("tedge mqtt pub tedge/measurements '"+payload+"'" )
os.system('sudo sh -c "echo '+str(-ledStatus)+' > /sys/class/leds/led0/brightness"')
ledStatus~=ledStatus
ledStatus=~ledStatus
while True:
if (checkConnection()):
fileHandler()
Expand Down

0 comments on commit bc49cec

Please sign in to comment.