Skip to content

Modified randomSeed, now uses unsigned long. #3202

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

Merged
merged 1 commit into from
May 28, 2015

Conversation

Chris--A
Copy link
Contributor

This is a fix for issue #575

randomSeed() now accepts unsigned long, the same type as the underlying AVR system call srandom().

This now matches the SAM core which already uses uint32_t.

@ffissore ffissore added Component: Core Related to the code for the standard Arduino API Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) labels May 21, 2015
facchinm added a commit that referenced this pull request May 28, 2015
Modified randomSeed, now uses unsigned long.
@facchinm facchinm merged commit d92bf5b into arduino:master May 28, 2015
@facchinm facchinm added this to the Release 1.6.5 milestone May 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Architecture: AVR Applies only to the AVR microcontrollers (Uno, etc.) Component: Core Related to the code for the standard Arduino API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants