Closed ArminJo closed 1 year ago
Where is random() implemented ?
??? long random(long howbig= __LONG_MAX__); introduces a default/optional parameter.
long random(long howbig) is implemented here
Create a PR and I will merge it, as I think its a low risk change
Done!
Thanks
Thank YOU for maintaining this core 🥇 .
@stevestrong @rogerclarkmelbourne Is there any reason, why the PR is not merged now?
which PR?
Sorry I had "Tomaten auf den Augen". it was PR https://github.com/rogerclarkmelbourne/Arduino_STM32/pull/889. I was searching for it in order to delete my local fork and I have not found it, since I looked at the wrong place. Thanks again for maintaining!
Standard Arduino programs do not compile if they use
random();
E.g.
if I replace the line 50 in wirish_math.h
long random(long max);
withlong random(long max = __LONG_MAX__);
everything works fine.Do you require a PR?