ninjablocks / 433Utils

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.
ninjablocks.com
MIT License
899 stars 335 forks source link

warning while sudo make all #57

Open earth08 opened 6 years ago

earth08 commented 6 years ago

RFSniffer.cpp: In function ‘int main(int, char**)’: RFSniffer.cpp:51:63: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("Received %i\n", mySwitch.getReceivedValue() );

cant decodes code by sudo ./RFSniffer on orange Pi plus 2e cant get codes on screen when sudo ./RFSniffer cant receive codes.

Please guide