Automatic generation of markdown pages for supported devices
+ Added build-supported-devices.sh script + Added new target in CI/CD to build at compile time
This commit is contained in:
parent
a7adfe251b
commit
524675108d
163 changed files with 699 additions and 265 deletions
|
|
@ -15,6 +15,7 @@ using namespace std::chrono_literals;
|
|||
|
||||
/**------------------------------------------------------------------*\
|
||||
@name E1.31 Devices
|
||||
@category LEDStrip
|
||||
@type E1.31
|
||||
@save :x:
|
||||
@direct :white_check_mark:
|
||||
|
|
@ -114,7 +115,7 @@ RGBController_E131::RGBController_E131(std::vector<E131Device> device_list)
|
|||
for(unsigned int univ_list_idx = 0; univ_list_idx < universe_list.size(); univ_list_idx++)
|
||||
{
|
||||
location += std::to_string(universe_list[univ_list_idx]);
|
||||
|
||||
|
||||
if(univ_list_idx < (universe_list.size() - 1))
|
||||
{
|
||||
location += ", ";
|
||||
|
|
@ -135,7 +136,7 @@ RGBController_E131::RGBController_E131(std::vector<E131Device> device_list)
|
|||
| Create E1.31 socket |
|
||||
\*-----------------------------------------*/
|
||||
sockfd = e131_socket();
|
||||
|
||||
|
||||
keepalive_delay = 0ms;
|
||||
|
||||
SetupZones();
|
||||
|
|
@ -291,7 +292,7 @@ RGBController_E131::RGBController_E131(std::vector<E131Device> device_list)
|
|||
}
|
||||
zones[device_idx].matrix_map = new_map;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(keepalive_delay.count() > 0)
|
||||
{
|
||||
|
|
@ -380,7 +381,7 @@ void RGBController_E131::DeviceUpdateLEDs()
|
|||
int color_idx = 0;
|
||||
|
||||
last_update_time = std::chrono::steady_clock::now();
|
||||
|
||||
|
||||
for(std::size_t device_idx = 0; device_idx < devices.size(); device_idx++)
|
||||
{
|
||||
float universe_size = devices[device_idx].universe_size;
|
||||
|
|
@ -441,12 +442,12 @@ void RGBController_E131::DeviceUpdateLEDs()
|
|||
|
||||
void RGBController_E131::UpdateZoneLEDs(int /*zone*/)
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_E131::UpdateSingleLED(int /*led*/)
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
void RGBController_E131::SetCustomMode()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue