Skip to content

Commit 6fd4182

Browse files
committed
Fix - Return correct mapping type for a running instance
1 parent 359add2 commit 6fd4182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsrc/api/JsonInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ QJsonObject JsonInfo::getInfo(const Hyperion* hyperion, Logger* log)
4646
{
4747
info["priorities_autoselect"] = hyperion->sourceAutoSelectEnabled();
4848
info["videomode"] = QString(videoMode2String(hyperion->getCurrentVideoMode()));
49-
info["imageToLedMappingType"] = ImageProcessor::mappingTypeToStr(0);
49+
info["imageToLedMappingType"] = ImageProcessor::mappingTypeToStr(hyperion->getLedMappingType());
5050
info["leds"] = hyperion->getSetting(settings::LEDS).array();
5151
}
5252
else

0 commit comments

Comments
 (0)