mirror of
https://github.com/wled/WLED.git
synced 2025-07-21 09:46:32 +00:00
Rename usermod EXAMPLE_v2 to EXAMPLE
It'd be better to not propagate the 'v2' suffix any further. This is the standard flavor of usermods now.
This commit is contained in:
parent
851e9ece03
commit
070b08a9e6
4
usermods/EXAMPLE/library.json
Normal file
4
usermods/EXAMPLE/library.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"name:": "EXAMPLE",
|
||||
"dependencies": {}
|
||||
}
|
@ -4,7 +4,6 @@ In this usermod file you can find the documentation on how to take advantage of
|
||||
|
||||
## Installation
|
||||
|
||||
Copy `usermod_v2_example.h` to the wled00 directory.
|
||||
Uncomment the corresponding lines in `usermods_list.cpp` and compile!
|
||||
Add `EXAMPLE` to `custom_usermods` in your PlatformIO environment and compile!
|
||||
_(You shouldn't need to actually install this, it does nothing useful)_
|
||||
|
@ -1,5 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "wled.h"
|
||||
|
||||
/*
|
||||
@ -404,3 +402,6 @@ void MyExampleUsermod::publishMqtt(const char* state, bool retain)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
static MyExampleUsermod example_usermod;
|
||||
REGISTER_USERMOD(example_usermod);
|
Loading…
x
Reference in New Issue
Block a user