Skip to content

Conversation

arturo182
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the cleanup! Just the minor style things. (I know @tannewt said let's not spend a lot of time on style things, but these are easy and it makes it easier to read the code if the style is consistent.)

@@ -72,3 +72,13 @@ void mp_hal_stdout_tx_strn_cooked(const char *str, mp_uint_t len) {
void mp_hal_stdout_tx_str(const char *str) {
mp_hal_stdout_tx_strn(str, strlen(str));
}

void mp_hal_delay_ms(mp_uint_t ms)
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put curly brace on previous line to make consistent with the rest of the code.

}

void mp_hal_delay_us(mp_uint_t us)
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

etc..

@arturo182
Copy link
Collaborator Author

Muscle memory again, I'll try to get better at this! Thanks for the comments, I appreciate consistent code style as well, will fix it! :)

Thus getting rid of the whole old hal!
The module is not needed because the common-hal
nRF implementation uses HW RNG anyway.
@arturo182 arturo182 mentioned this pull request Jul 10, 2018
@tannewt tannewt removed their request for review July 10, 2018 19:18
@arturo182
Copy link
Collaborator Author

@dhalbert I fixed the comments you posted, if every thing is to your liking, please merge at your convenience :)

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!! Thanks!

I think I didn't get notified of the latest commits because it was a force-push.

@dhalbert dhalbert merged commit 4962468 into adafruit:master Jul 10, 2018
@arturo182 arturo182 deleted the nrf_cleanup branch July 10, 2018 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants