#define INT16_MAX 0x7fff 

largest positive value an int16_t can hold.