FW-186. change variable "compensationSlot" to uint16_t