Skip to content

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