Skip to content

Commit

Permalink
[rpi] Resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikssn committed Aug 18, 2020
1 parent ba2f1a0 commit d814b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/modm/platform/gpio/rpi/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ def init(module):


def prepare(module, options):
<<<<<<< HEAD
if not options[":target"].has_driver("gpio:rpi"):
=======
if not options[":target"].has_driver("gpio"):
>>>>>>> 8f79fca55d7a3be9e5d7045b568eb68888c66c48
return False

module.depends(":architecture:gpio")
Expand Down
2 changes: 0 additions & 2 deletions tools/devices/hosted/rpi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
<device platform="hosted" family="rpi">
<naming-schema>{platform}-{family}</naming-schema>

<attribute-core value="x86"/>

<driver name="core" type="rpi"/>
<driver name="gpio" type="rpi"/>
<driver name="uart" type="hosted"/>
Expand Down

0 comments on commit d814b26

Please sign in to comment.