Added cleanup action on GPIO plugin

This commit is contained in:
Fabio Manganiello 2019-12-21 23:36:09 +01:00
parent bdfe48fe32
commit d33494419a

View file

@ -152,5 +152,10 @@ class GpioPlugin(Plugin):
return values
@action
def cleanup(self):
import RPi.GPIO as gpio
gpio.cleanup()
# vim:sw=4:ts=4:et: