Skip to content

Wire.cpp optimistic_yield() Bug in Staging #588

Closed
@toddtreece

Description

@toddtreece

I'm using the staging package to test against right now because it has some fixes I need, and I ran into this new bug with the Wire lib:

/home/travis/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-939-g033463a/libraries/Wire/Wire.cpp: In member function 'virtual int TwoWire::available()':
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-939-g033463a/libraries/Wire/Wire.cpp:167:26: error: too few arguments to function 'void optimistic_yield(uint32_t)'
         optimistic_yield();
                          ^
In file included from /home/travis/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-939-g033463a/cores/esp8266/twi.h:23:0,
                 from /home/travis/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-939-g033463a/libraries/Wire/Wire.cpp:30:
/home/travis/.arduino15/packages/esp8266/hardware/esp8266/1.6.5-939-g033463a/cores/esp8266/Arduino.h:208:6: note: declared here
 void optimistic_yield(uint32_t interval_us);

Travis CI build log with more details: https://travis-ci.org/adafruit/adafruit-io-basics#L591

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions