Fixed an issue with LPC1549 target

Fork of C12832 by Chris Styles