Skip to content

Commit 3fe31ad

Browse files
committed
Move objects.h to LPC11XX_11CXX common
Use #if DEVICE_CAN for can_s definition
1 parent f580c00 commit 3fe31ad

File tree

2 files changed

+2
-68
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX

2 files changed

+2
-68
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/TARGET_LPC11XX/objects.h

Lines changed: 0 additions & 68 deletions
This file was deleted.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ struct spi_s {
5959
LPC_SSP_TypeDef *spi;
6060
};
6161

62+
#if DEVICE_CAN
6263
struct can_s {
6364
int index;
6465
};
66+
#endif
6567

6668
#include "gpio_object.h"
6769

0 commit comments

Comments
 (0)