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:
Will Miles 2025-01-31 03:54:17 +00:00
parent 851e9ece03
commit 070b08a9e6
3 changed files with 8 additions and 4 deletions

View File

@ -0,0 +1,4 @@
{
"name:": "EXAMPLE",
"dependencies": {}
}

View File

@ -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)_

View File

@ -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);