Add mgos_gpio_setup_input()

This commit is contained in:
Pim van Pelt
2019-03-28 16:21:13 +01:00
parent 643ab436fb
commit d0ad1bdc91

View File

@ -118,6 +118,14 @@ void mgos_gpio_clear_int(int pin) {
(void)pin; (void)pin;
} }
bool mgos_gpio_setup_input(int pin, enum mgos_gpio_pull_type pull) {
LOG(LL_INFO, ("Not implemented."));
return true;
(void)pin;
(void)pull;
}
bool mgos_gpio_set_mode(int pin, enum mgos_gpio_mode mode) { bool mgos_gpio_set_mode(int pin, enum mgos_gpio_mode mode) {
LOG(LL_INFO, ("Not implemented.")); LOG(LL_INFO, ("Not implemented."));
return true; return true;