matthias-bs / BresserWeatherSensorLW

Bresser 868 MHz Weather Sensor Radio Receiver based on ESP32/RP2040 and SX1262/SX1276 - sends data to a LoRaWAN Network
MIT License
12 stars 1 forks source link

[esp32s3_powerfeather] Report compiler error #39

Closed matthias-bs closed 4 months ago

matthias-bs commented 5 months ago

The following error breaks the CI run for target esp32s3_powerfeather (arduino-esp32 v3.0.0):

/home/runner/Arduino/libraries/PowerFeather-SDK/src/Utils/MasterI2C.h: In constructor 'PowerFeather::MasterI2C::MasterI2C(uint8_t, uint8_t, uint8_t, uint32_t)':
/home/runner/Arduino/libraries/PowerFeather-SDK/src/Utils/MasterI2C.h:46:25: error: invalid conversion from 'uint8_t' {aka 'unsigned char'} to 'i2c_port_t' [-fpermissive]
   46 |                   _port(port), _sdaPin(sdaPin), _sclPin(sclPin), _freq(freq) {};
      |                         ^~~~
      |                         |
      |                         uint8_t {aka unsigned char}
matthias-bs commented 5 months ago

See https://github.com/PowerFeather/powerfeather-sdk/issues/3

matthias-bs commented 4 months ago

Fixed