shithub: tpi

ref: b9efa5bad11f7ada9416bab6f63ca4dd69b520c5
dir: /v1/9/blink.diff/

View raw version
diff 90a08cf1fda8eaf4afe98f74a7572fb36b7ef369 uncommitted
--- a/sys/src/9/bcm/devarch.c
+++ b/sys/src/9/bcm/devarch.c
@@ -225,7 +225,7 @@
 			gpiosel(okled, Output);
 	}
 	if(okled == 'v')
-		vgpset(0, on);
+		egpset(1, on);
 	else if(okled != 0)
 		gpioout(okled, on^polarity);
 }