Skip to content

Commit

Permalink
Merge pull request ninjablocks#33 from computerlyrik/master
Browse files Browse the repository at this point in the history
Decrease Example from 100% CPU Usage
  • Loading branch information
☃ Elliot Shepherd authored Jun 7, 2018
2 parents 1b4f5bc + 814728a commit 31c0ea4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RPi_utils/RFSniffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include "../rc-switch/RCSwitch.h"
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>


RCSwitch mySwitch;
Expand Down Expand Up @@ -52,9 +53,8 @@ int main(int argc, char *argv[]) {

fflush(stdout);
mySwitch.resetAvailable();

}

usleep(100);

}

Expand Down

0 comments on commit 31c0ea4

Please sign in to comment.