Skip to content

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