Formatting
This commit is contained in:
		| @@ -4,18 +4,18 @@ | ||||
| #include "mgos.h" | ||||
|  | ||||
| enum mgos_gpio_mode { | ||||
|   MGOS_GPIO_MODE_INPUT = 0, /* input mode */ | ||||
|   MGOS_GPIO_MODE_OUTPUT = 1 /* output mode */ | ||||
|   MGOS_GPIO_MODE_INPUT  = 0, /* input mode */ | ||||
|   MGOS_GPIO_MODE_OUTPUT = 1  /* output mode */ | ||||
| }; | ||||
|  | ||||
| enum mgos_gpio_pull_type { | ||||
|   MGOS_GPIO_PULL_NONE = 0, | ||||
|   MGOS_GPIO_PULL_UP = 1,  /* pin is pilled to the high voltage */ | ||||
|   MGOS_GPIO_PULL_DOWN = 2 /* pin is pulled to the low voltage */ | ||||
|   MGOS_GPIO_PULL_UP   = 1, /* pin is pilled to the high voltage */ | ||||
|   MGOS_GPIO_PULL_DOWN = 2  /* pin is pulled to the low voltage */ | ||||
| }; | ||||
|  | ||||
| enum mgos_gpio_int_mode { | ||||
|   MGOS_GPIO_INT_NONE = 0, | ||||
|   MGOS_GPIO_INT_NONE     = 0, | ||||
|   MGOS_GPIO_INT_EDGE_POS = 1, /* positive edge */ | ||||
|   MGOS_GPIO_INT_EDGE_NEG = 2, /* negative edge */ | ||||
|   MGOS_GPIO_INT_EDGE_ANY = 3, /* any edge - positive or negative */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user