commit c1617222415cb558231bed0e61768d391c3709a9
parent e3f9ebfaa032551b7c92b4b12ccfa053732edace
Author: rob <rob@tarina.org>
Date: Fri, 10 Nov 2023 15:54:10 +0000
bug in loadconfig, works now
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -2297,10 +2297,14 @@ def getconfig(camera):
config['SENSOR']['revision'] = 'standard'
with open(configfile, 'w') as f:
config.write(f)
+ camera_model = version
+ camera_revision = 'standard'
elif version == 'imx477':
config['SENSOR'] = {}
config['SENSOR']['model'] = version
config['SENSOR']['revision'] = 'hq-camera'
+ camera_model = version
+ camera_revision = 'hq-camera'
with open(configfile, 'w') as f:
config.write(f)
else: