Skip to content

Conversation

zachwelch
Copy link

This trivial patch fixes the following warning:

.../Adafruit_NeoPixel/esp.c: In function 'espShow':
.../Adafruit_NeoPixel/esp.c:56:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   56 |       if (led_data = (rmt_data_t *)malloc(requiredSize * sizeof(rmt_data_t))) {
      |           ^~~~~~~~

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.

1 participant