Removed enum and filled in the consts. Replace int with uint8_t so there is no ambigious definitions of an int.