feat: basic H7 support (#5228)
Co-authored-by: Malte Langermann <malte@langermann.net> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
co-authored by
Malte Langermann
3djc
raphaelcoeffic
Richard Li
parent
2110f1b938
commit
6f8a5313d5
@@ -123,8 +123,10 @@ class ADCInputParser:
|
||||
def _parse_dirs(self):
|
||||
|
||||
ret = []
|
||||
dirs = self.hw_defs['ADC_DIRECTION'].strip('{} ').split(',')
|
||||
#eprint(dirs)
|
||||
dirs = self.hw_defs.get('ADC_DIRECTION') or ''
|
||||
if dirs:
|
||||
dirs = dirs.strip('{} ').split(',')
|
||||
eprint(dirs)
|
||||
for i in dirs:
|
||||
ret.append(int(i))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user