upscat: touch-ups
Alpine 3.23 Scripts failed

This commit is contained in:
2026-07-06 20:53:25 +02:00
parent 2c30ddfa3d
commit f2e586906f
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -106,7 +106,10 @@ endif ()
if (WITH_HIDAPI AND BUILD_TESTING)
add_executable (test-upscat $<TARGET_PROPERTY:upscat,SOURCES>)
set_target_properties (test-upscat PROPERTIES COMPILE_DEFINITIONS TESTING)
target_link_libraries (test-upscat $<TARGET_PROPERTY:upscat,LINK_LIBRARIES>)
target_include_directories (test-upscat
PUBLIC $<TARGET_PROPERTY:upscat,INCLUDE_DIRECTORIES>)
target_link_libraries (test-upscat
PUBLIC $<TARGET_PROPERTY:upscat,LINK_LIBRARIES>)
add_test (NAME test-upscat
COMMAND test-upscat upscat-eaton3p.bin upscat-cyberpower.bin
WORKING_DIRECTORY "${PROJECT_SOURCE_DIR}")
+1 -1
View File
@@ -104,7 +104,7 @@ due to protocol changes, although I don't really deem it very probable.
upscat
~~~~~~
_upscat_ streams the basic status of UPS devices using the USB HID protocol,
_upscat_ streams the basic status of UPS devices that use the USB HID protocol,
in CSV format. You'll get the power status, remaining capacity, run time,
and load percentage. It's been verified with Eaton 3S/3P series and CyberPower
BR1200ELCD, both working quite differently.