adafruit / Adafruit_VL53L0X

Arduino library for Adafruit VL53L0X
149 stars 118 forks source link

Add '_STDINT_H' to list of defines which indicate stdint.h included. #34

Closed rthille closed 4 years ago

rthille commented 4 years ago

The ESP8266 #define for stdint.h is _STDINT_H. Added here to avoid warning during compile. https://github.com/esp8266/Arduino/blob/master/tools/sdk/libc/xtensa-lx106-elf/include/stdint.h

Should only affect warning during compile; no behavior change to produced code.

Thank you for creating a pull request to contribute to Adafruit's GitHub code! Before you open the request please review the following guidelines and tips to help it be more easily integrated:

Thank you again for contributing! We will try to test and integrate the change as soon as we can, but be aware we have many GitHub repositories to manage and can't immediately respond to every request. There is no need to bump or check in on a pull request (it will clutter the discussion of the request).

Also don't be worried if the request is closed or not integrated--sometimes the priorities of Adafruit's GitHub code (education, ease of use) might not match the priorities of the pull request. Don't fret, the open source community thrives on forks and GitHub makes it easy to keep your changes in a forked repo.

After reviewing the guidelines above you can delete this text from the pull request.

ladyada commented 4 years ago

please run clang-format so this passes CI :) https://github.com/adafruit/Adafruit_VL53L0X/runs/612918161#step:7:13

ladyada commented 4 years ago

gr8 thanx!