Skip to content

AssertionError for tx_power should be more verbose #25

@brentru

Description

@brentru

Currently prints:
File "adafruit_rfm9x.py", line 529, in tx_power AssertionError:

Should be AssertionError: Power range must be from 5 to 23dB
https://github.com/adafruit/Adafruit_CircuitPython_RFM9x/blob/master/adafruit_rfm9x.py#L529

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions