Changeset 534 for trunk/hal/tsar_mips32/core/hal_drivers.c
- Timestamp:
- Sep 21, 2018, 10:20:35 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/core/hal_drivers.c
r492 r534 26 26 27 27 #include <soclib_tty.h> 28 #include <soclib_mtty.h> 28 29 #include <soclib_pic.h> 29 30 #include <soclib_iob.h> … … 49 50 uint32_t impl ) 50 51 { 51 assert( (impl == IMPL_TXT_TTY), "bad implementation" ); 52 53 soclib_tty_init( txt ); 52 switch (impl) { 53 case IMPL_TXT_TTY : { 54 soclib_tty_init( txt ); 55 break; 56 } 57 case IMPL_TXT_MTY : { 58 soclib_mtty_init( txt ); 59 break; 60 } 61 default : { 62 assert( false, "bad implementation" ); 63 } 64 } 54 65 } 55 66
Note: See TracChangeset
for help on using the changeset viewer.