check syntax for init/version

git-svn-id: svn://svn.berlios.de/openocd/trunk@1257 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
oharboe
2008-12-17 14:55:12 +00:00
parent 3160f4a48d
commit e873a6d27c
2 changed files with 8 additions and 1 deletions

View File

@@ -355,7 +355,7 @@ int zy1000_register_commands(struct command_context_s *cmd_ctx)
int zy1000_init(void)
{
LOG_ERROR("%s\n", ZYLIN_OPENOCD_VERSION);
LOG_USER("%s", ZYLIN_OPENOCD_VERSION);
ZY1000_POKE(ZY1000_JTAG_BASE+0x10, 0x30); // Turn on LED1 & LED2