Merge pull request #330 from Erethon/rnodeconf-device-selection

Fix bug in device selection of rnodeconf
This commit is contained in:
markqvist 2023-06-22 20:00:42 +02:00 committed by GitHub
commit 40c85fb607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1494,7 +1494,7 @@ def main():
selected_product = None selected_product = None
try: try:
c_dev = int(input()) c_dev = int(input())
if c_dev < 1 or c_dev > 6: if c_dev < 1 or c_dev > 7:
raise ValueError() raise ValueError()
elif c_dev == 1: elif c_dev == 1:
selected_product = ROM.PRODUCT_RNODE selected_product = ROM.PRODUCT_RNODE