Variable types to pass into UART PutArray | Cypress Semiconductor
Variable types to pass into UART PutArray
I am having a bit of trouble calling PutArray.
My data buffer is an element in a struct and it has type uint8 Buf;
When I call COM_PutArray(COM.Buf,NumBytes);
I get warning it is wanting type const uint8 passed. I am not sure what I need to do here as I don't think it makes sense to cast as a "const" ?
I am wanting a blocking function so program waits will last btyre sent before progressing.