Fifo buffer uint16_t bugfix
Fifo fix
Add generator