boards new split VENDOR_MODEL naming convention

This commit is contained in:
Daniel Agar
2018-11-21 23:27:21 -05:00
committed by David Sidrane
parent f692ad04d0
commit abb3817d31
149 changed files with 401 additions and 407 deletions

View File

@@ -279,7 +279,6 @@ int led_init()
led_control.timestamp = hrt_absolute_time();
led_control_pub = orb_advertise_queue(ORB_ID(led_control), &led_control, LED_UORB_QUEUE_LENGTH);
#if !defined(CONFIG_ARCH_BOARD_RPI) && !defined(CONFIG_ARCH_BOARD_BBBLUE)
/* first open normal LEDs */
DevMgr::getHandle(LED0_DEVICE_PATH, h_leds);
@@ -305,7 +304,6 @@ int led_init()
/* switch amber off */
led_off(LED_AMBER);
#endif
return 0;
}
@@ -313,9 +311,7 @@ int led_init()
void led_deinit()
{
orb_unadvertise(led_control_pub);
#if !defined(CONFIG_ARCH_BOARD_RPI) && !defined(CONFIG_ARCH_BOARD_BBBLUE)
DevMgr::releaseHandle(h_leds);
#endif
}
int led_toggle(int led)