get rid of pointer arithmetic inside usartBuffer