Skip to content

Commit 7f2c425

Browse files
committed
pixels_to_access_config: Consider space as '0'
Signed-off-by: SeongJae Park <[email protected]>
1 parent d65c1d6 commit 7f2c425

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pixels_to_access_config.py

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def main():
5353
config_lines.append('row %d' % row_idx)
5454
config_lines.append('%d' % (phase_time * 1000))
5555
for cell_idx, cell in enumerate(row):
56+
if cell == ' ':
57+
cell = '0'
5658
config_lines.append('region%d, 0, 4096, %s' % (cell_idx, cell))
5759
config_lines.append('')
5860

0 commit comments

Comments
 (0)