Created
March 8, 2018 02:59
-
-
Save a46554/d3a8c844d6b3a8f23e9240a8dd1e115a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define PACKET_MAX 100 | |
unsigned int packet_count ; | |
/*if use this compiler will give a warring */ | |
if(packet_count >=PACKET_MAX) | |
/*use this for alternative */ | |
if(PACKET_MAX - packet_count >=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment