WLED/usermods/BH1750_v2/usermods_list.cpp
2021-10-08 02:11:39 +08:00

15 lines
235 B
C++

#include "wled.h"
/*
* Register your v2 usermods here!
*/
#ifdef USERMOD_BH1750
#include "../usermods/BH1750_v2/usermod_BH1750.h"
#endif
void registerUsermods()
{
#ifdef USERMOD_BH1750
usermods.add(new Usermod_BH1750());
#endif
}