Skip to content

Allman now #6080

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 3 commits into from May 13, 2019
Merged

Allman now #6080

merged 3 commits into from May 13, 2019

Conversation

ghost
Copy link

@ghost ghost commented May 12, 2019

edit Check #6086 after this breaking change.

@earlephilhower
Copy link
Collaborator

@d-a-v, I thought we had cuddled elses, but seems not. Am I mistaken?

-static bool twi_write_bit(bool bit) {
+    static bool twi_write_bit(bool bit)
+    {
         uint32_t i = 0;
         SCL_LOW();
-  if (bit) SDA_HIGH();
-  else SDA_LOW();
+        if (bit)
+        {
+            SDA_HIGH();
+        }
+        else
+        {
+            SDA_LOW();
+        }

@d-a-v
Copy link
Collaborator

d-a-v commented May 13, 2019

@d-a-v d-a-v merged commit 98125f8 into esp8266:master May 13, 2019
d-a-v added a commit that referenced this pull request May 13, 2019
This reverts commit 98125f8.
d-a-v pushed a commit that referenced this pull request May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants