Skip to content

Commit d0cc42e

Browse files
committed
fixes toml reader to properly detect the RGBDisplay driver
1 parent 3062a28 commit d0cc42e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

builder/toml_reader.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,15 @@ def fqn(self):
8383
if self.name == 'SDCard':
8484
return 'machine.SDCard'
8585

86+
if self.name == 'RGBDisplay':
87+
return 'rgb_display.' + self.name
88+
89+
if self.name == 'SDLDisplay':
90+
return 'sdl_display.' + self.name
91+
92+
if self.name == 'SDLPointer':
93+
return 'sdl_pointer.' + self.name
94+
8695
if self.name.lower() in display_drivers:
8796
return self.name.lower() + '.' + self.name
8897

0 commit comments

Comments
 (0)