Skip to content

Commit

Permalink
Turn off GPIO at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
chutasano committed Apr 4, 2018
1 parent 97f1c16 commit dfd20a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ir_sender/ir_sender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ int IrSender::ir_send_raw(std::vector<int> pulses)
gpioWaveDelete(waveID);
}

gpioWrite(m_outpin, 1);

// Cleanup
gpioTerminate();
return 0;
Expand Down

0 comments on commit dfd20a5

Please sign in to comment.