Skip to content

Commit

Permalink
Merge pull request #308 from Bodmer/master
Browse files Browse the repository at this point in the history
Fix PIO typedef error in #307
  • Loading branch information
PaintYourDragon authored Dec 21, 2021
2 parents 4e82900 + c775d2c commit bc72e16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Adafruit_NeoPixel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@
#endif
#endif

#if defined(ARDUINO_ARCH_RP2040)
#include <stdlib.h>
#include "hardware/pio.h"
#include "hardware/clocks.h"
#include "rp2040_pio.h"
#endif

/*!
@brief NeoPixel constructor when length, pin and pixel type are known
at compile-time.
Expand Down
7 changes: 7 additions & 0 deletions Adafruit_NeoPixel.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
#include <Arduino.h>
#endif

#if defined(ARDUINO_ARCH_RP2040)
#include <stdlib.h>
#include "hardware/pio.h"
#include "hardware/clocks.h"
#include "rp2040_pio.h"
#endif

// The order of primary colors in the NeoPixel data stream can vary among
// device types, manufacturers and even different revisions of the same
// item. The third parameter to the Adafruit_NeoPixel constructor encodes
Expand Down

0 comments on commit bc72e16

Please sign in to comment.