Skip to content

Commit

Permalink
dht reboot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Jan 1, 2023
1 parent 92453ff commit 054719b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/new_pins.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,10 @@ void PIN_SetupPins() {
}
#endif
#endif

#if defined(PLATFORM_BEKEN) || defined(PLATFORM_BL602) || defined(PLATFORM_W600) || defined(WINDOWS)
// TODO: better place to call?
DHT_OnPinsConfigChanged();
#endif
addLogAdv(LOG_INFO, LOG_FEATURE_GENERAL,"PIN_SetupPins pins have been set up.\r\n");
}

Expand Down

0 comments on commit 054719b

Please sign in to comment.