[x] Tasmota binary firmware version number used: latest Tasmota dev
[ ] Pre-compiled
[x] Self-compiled
[x] IDE / Compiler used: PlatformIO 5.0.2 with VSC
[ ] Flashing tools used: _____
[ ] Provide the output of command: Backlog Template; Module; GPIO 255:
Configuration output here:
- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
Rules output here:
- [ ] Provide the output of this command: `Status 0`:
STATUS 0 output here:
- [ ] Provide the output of the Console log output when you experience your issue; if applicable:
_(Please use_ `weblog 4` _for more debug information)_
Console output here:
### TO REPRODUCE
_Steps to reproduce the behavior:_
Enable SPS30 sensor in Tasmota32 build
### EXPECTED BEHAVIOUR
Compile and Linking successful
### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._
### ADDITIONAL CONTEXT
Maybe this code change solves. Suggestion from @staars He can not test (no SPS30 sensor)
PROBLEM DESCRIPTION
Enabling driver SPS30 driver with Tasmota32 generates linker error
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Rules output here:
STATUS 0 output here:
Console output here:
ifdef ESP8266
twi_readFrom(SPS30_ADDR,twi_buff,dlen,1);
else
Wire.readTransmission(SPS30_ADDR,twi_buff,dlen,1, NULL);
endif