mtnscott / Adafruit_ILI9341

pkourney port of Adafruit_ILI9341 for Spark
Other
1 stars 19 forks source link

'struct GPIO_TypeDef' has no member named 'BRR' #3

Open czapeczek opened 8 years ago

czapeczek commented 8 years ago

Veryfing code using this library in Particle Build fails with this error:

Adafruit_ILI9341/Adafruit_ILI9341.h:27:53: error: 'struct GPIO_TypeDef' has no member named 'BRR'
 #define pinLO(_pin) (PIN_MAP[_pin].gpio_peripheral->BRR = PIN_MAP[_pin].gpio_pin)
                                                     ^

Any ideas?

insano10 commented 7 years ago

I have opened a pull request that will fix this issue. If you want to keep going in the meantime, my fork has these changes in and works in the Particle Build IDE (https://github.com/insano10/Adafruit_ILI9341)