forked from Imagelibrary/rtems
Move printer initialization to separate header
The RTEMS print user need to know nothing about a particular printer implementation. In particular get rid of the <stdio.h> include which would be visible via <rtems.h>.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <rtems/print.h>
|
||||
#include <rtems/printer.h>
|
||||
|
||||
#include <bsp/irq-generic.h>
|
||||
#include <bsp/irq-info.h>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <rtems/printer.h>
|
||||
#include <rtems/shell.h>
|
||||
|
||||
#include <bsp/irq-info.h>
|
||||
|
||||
Reference in New Issue
Block a user