Compile error at DHT usermod

Hey guys,

During compiling DHT usermod I get following error:

In file included from wled00\usermods_list.cpp:81:
wled00\../usermods/DHT/usermod_dht.h: In member function 'virtual void UsermodDHT::loop()':
wled00\../usermods/DHT/usermod_dht.h:144:67: error: expected primary-expression before ';' token
  144 |         nextReadTime = millis() + USERMOD_DHT_MEASUREMENT_INTERVAL;
      |                                                                   ^
wled00\../usermods/DHT/usermod_dht.h:171:75: error: expected primary-expression before ')' token
  171 |       if (((millis() - lastReadTime) > 10*USERMOD_DHT_MEASUREMENT_INTERVAL)) {
      |                                                                           ^
*** [.pio\build\d1_mini\src\usermods_list.cpp.o] Error 1

How in the readme written I copied “platformio_override.ini” into the root dir. and added:

#define USERMOD_DHT
#define USERMOD_DHT_DHTTYPE 22
#define USERMOD_DHT_PIN 4
#define USERMOD_DHT_CELSIUS
#define USERMOD_DHT_MEASUREMENT_INTERVAL
#define USERMOD_DHT_MQTT
#define USERMOD_DHT_STATS

to “my_config.h”

Then I got a missing lib “DHT_blocking.h”.
This file and .cpp I copied into the wled00 directory, because at PIO Home → Libraries → Search no “DHT_blocking” will be found.
This missing lib message disappeared, but I got now this upper error message.

@blazoncek Any idea?

Please contact original author of the usermod.

I thought that’s you

I am not. Please use git blame.

Sorry, can anybody help again?

pi@raspberrypi:~ $ git blame README.MD
fatal: not a git repository (or any of the parent directories): .git

:man_facepalming:
Google is your friend.

Sorry, this goes to deep for me.
I’m not a Linux either a Software guy.
To run DHT usermod in parallel to Dallas DS18B20 sensor would be just a nice-to-have and a try, but no must-have.
I have to many other topics around.