Component UID Generator
Copy thePROVIDE_UID
macro below in to your new component, in place of the default UID provider macro. Each component should have a unique UID, hence the U in UID (Unique IDentifier). The default PROVIDE_UID
is invalid and will not compile, to avoid duplicates when creating new components from templates.Find this placeholder:
PROVIDE_UID(/* UID GOES HERE */);
And replace it with:
PROVIDE_UID(0xC039E4BBD7B5DE75);
If you are modifying an existing component still do remember to replace the existing UID, which will be a valid value not a placeholder.