-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
random/arandom conflicting changes #4
Comments
@rstaph, I am not sure what you mean. The lastest firmware repo, and I believe also on the compile server, spark_wiring_random.cpp/.h clearly define the random() and randomSeed() functions. I am not sure why you are having problems with random(). |
Turned out to be a simple thing. In file ssd1306_128x64_i2c.ino on lines 168, 170, 195, 197 arandom() (instead of random()) is still being used leading to function not defined errors during compile. |
@rstaph, I don't know how I missed those! These should all be replaced for "random". I will clean this up asap. Thanks! |
Ok... fixed! |
When prahaladm recoded for the arandom() change no one undid the changes in the rest of the file. I know I was having issues getting this to run with the function called random. Would the solution be to fall back to rand()?
The text was updated successfully, but these errors were encountered: