Refactor framework -- point to a tests/* directory for the user supplied tests
This commit is contained in:
		| @@ -81,3 +81,33 @@ double mg_time(void) { | ||||
| void mgos_usleep(uint32_t usecs) { | ||||
|   usleep(usecs); | ||||
| } | ||||
|  | ||||
|  | ||||
| bool mgos_gpio_set_int_handler(int pin, enum mgos_gpio_int_mode mode, mgos_gpio_int_handler_f cb, void *arg) { | ||||
|   LOG(LL_INFO, ("Not implemented.")); | ||||
|   return true; | ||||
|   (void)pin; | ||||
|   (void)mode; | ||||
|   (void)cb; | ||||
|   (void)arg; | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
| bool mgos_gpio_enable_int(int pin) { | ||||
|   LOG(LL_INFO, ("Not implemented.")); | ||||
|   return true; | ||||
|   (void)pin; | ||||
| } | ||||
|  | ||||
| bool mgos_gpio_disable_int(int pin) { | ||||
|   LOG(LL_INFO, ("Not implemented.")); | ||||
|   return true; | ||||
|   (void)pin; | ||||
| } | ||||
|  | ||||
| void mgos_gpio_clear_int(int pin) { | ||||
|   LOG(LL_INFO, ("Not implemented.")); | ||||
|   return; | ||||
|   (void)pin; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user