Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSD1306Wire.h, line 145 causes compilation error 'byte' is ambiguous #383

Closed
neutralvibes opened this issue Mar 23, 2023 · 1 comment
Closed

Comments

@neutralvibes
Copy link

Describe the bug
Using 'byte' in SSD1306Wire.h, line 145 causes compilation error 'byte' is ambiguous error in my case.

        byte k = 0;
        for (y = minBoundY; y <= maxBoundY; y++) {
          for (x = minBoundX; x <= maxBoundX; x++) {
            if (k == 0) {

Expected behavior
Use of uint8_t

        uint8_t k = 0;

Versions (please complete the following information):

  • Library: 4.40
  • Platform: ESP266 Arduino
@marcelstoer
Copy link
Member

Even though I cannot reproduce this here it would make sense to replace the 4 places someone used byte with uint8_t. Seems related to esp8266/Arduino#8090.

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

No branches or pull requests

2 participants