8000 Lengths of frequencies (CHG_FREQUENCY and OUT_FREQUENCY) · Issue #22 · mini-box/ups · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Lengths of frequencies (CHG_FREQUENCY and OUT_FREQUENCY)  #22
Open
@dacwe

Description

@dacwe

Setting the (defaults) to parameters CHG_FREQUENCY (333kHz) and OUT_FREQUENCY (300kHz) it is read back as something else.

The code says that this is a "integer of length 1": https://github.com/mini-box/ups/blame/8c6db6732181958accb73bc6a405dacf99dde89c/src/lib/HIDOpenUPS.cpp#L73

Is the length (1) correct here? Seems like values above 255 is truncated?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0