From 0a64c92a9c3bd7d648c8a0d087fa7e739a5eeaa3 Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Fri, 14 Mar 2014 00:51:26 -0700 Subject: stmhal - add led support. Add netduino_plus_2 support Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards --- stmhal/led.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'stmhal/led.h') diff --git a/stmhal/led.h b/stmhal/led.h index 9e9db16ac..44c68d4eb 100644 --- a/stmhal/led.h +++ b/stmhal/led.h @@ -20,6 +20,4 @@ void led_init(void); void led_state(pyb_led_t led, int state); void led_toggle(pyb_led_t led); -#if 0 MP_DECLARE_CONST_FUN_OBJ(pyb_Led_obj); -#endif -- cgit v1.2.3