Fix trigger set value in firmware

Changes trigger value in firmware from `uint8_t` to uint16_t`, as it needs to be.