Use const pointer in write functions#94
Conversation
|
Thanks! Will run it thru the tests next week, currently in vacation mode 😉 |
|
Hi again, building it (gcc 4.8.4) yields warnings: Would you please fix these before I merge it in? |
HAL API has been updated to use const pointer when writing
|
@pellepl Sorry I forgot to do it until now. Const pointer are used in more write functions, the warning should disappear. Only drawback is that the HAL write function prototype has been updated. |
|
Hi, Cheers / Peter |
The buffer passed to the write function should be const.