arch/arm/src/lpc17xx_40xx/lpc17_40_can.c: Don't assume debug macro expansion
This commit is contained in:
parent
065d310cf2
commit
44f88cd71a
@ -552,9 +552,7 @@ static void lpc17can_reset(FAR struct can_dev_s *dev)
|
||||
|
||||
static int lpc17can_setup(FAR struct can_dev_s *dev)
|
||||
{
|
||||
#ifdef CONFIG_DEBUG_CAN_INFO
|
||||
FAR struct up_dev_s *priv = (FAR struct up_dev_s *)dev->cd_priv;
|
||||
#endif
|
||||
int ret;
|
||||
|
||||
caninfo("CAN%d\n", priv->port);
|
||||
|
Loading…
x
Reference in New Issue
Block a user