Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion interface/src/lib/components/moonbase/FieldRenderer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,10 @@
{/if}

{#if property.ro}
{#if property.type == 'ip' || property.type == 'mDNSName'}
{#if property.type == 'ip'}
<a href="http://{value}">{value}</a>
{:else if property.type == 'mDNSName'}
<a href="http://{value}.local">{value}</a>
{:else if property.type == 'time'}
<span>{getTimeAgo(value, currentTime)}</span>
{:else if property.type == 'coord3D' && value != null}
Expand Down
25,214 changes: 12,608 additions & 12,606 deletions lib/framework/WWWData.h

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ lib_deps =
[HP_ALL_DRIVERS]
build_flags =
-D HP_ALL_DRIVERS
-D HP_ALL_VERSION=\"20251120\"
-D HP_ALL_VERSION=\"20260120\"
lib_deps =
; https://github.com/ewowi/I2SClocklessLedDriver.git#5d5508ca38a15497392950d4249cd0d910c3505d
; https://github.com/ewowi/I2SClocklessLedDriver.git#d8cdb31f8b0d52c0562eb5b0ce4723e26f0dc62f
Expand Down
4 changes: 4 additions & 0 deletions src/MoonLight/Layers/PhysicalLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ void PhysicalLayer::addLight(Coord3D position) {
return;
}

if (position.x < 0) position.x = 0;
if (position.y < 0) position.y = 0;
if (position.z < 0) position.z = 0;

if (pass == 1) {
// EXT_LOGD(ML_TAG, "%d,%d,%d", position.x, position.y, position.z);
if (lights.header.nrOfLights < lights.maxChannels / 3) {
Expand Down
6 changes: 4 additions & 2 deletions src/MoonLight/Modules/ModuleDrivers.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ class ModuleDrivers : public NodeManager {
addControlValue(control, getNameAndTags<TorontoBarGourdsLayout>());
addControlValue(control, getNameAndTags<RingLayout>());
addControlValue(control, getNameAndTags<Rings16Layout>());
addControlValue(control, getNameAndTags<RingsLayout>());
addControlValue(control, getNameAndTags<Rings241Layout>());
addControlValue(control, getNameAndTags<CarLightsLayout>());
addControlValue(control, getNameAndTags<WheelLayout>());
addControlValue(control, getNameAndTags<SpiralLayout>());
addControlValue(control, getNameAndTags<SingleRowLayout>());
Expand Down Expand Up @@ -126,7 +127,8 @@ class ModuleDrivers : public NodeManager {
if (!node) node = checkAndAlloc<CubeLayout>(name);
if (!node) node = checkAndAlloc<RingLayout>(name);
if (!node) node = checkAndAlloc<Rings16Layout>(name);
if (!node) node = checkAndAlloc<RingsLayout>(name);
if (!node) node = checkAndAlloc<Rings241Layout>(name);
if (!node) node = checkAndAlloc<CarLightsLayout>(name);
if (!node) node = checkAndAlloc<WheelLayout>(name);
if (!node) node = checkAndAlloc<SpiralLayout>(name);
if (!node) node = checkAndAlloc<HumanSizedCubeLayout>(name);
Expand Down
Loading