Commit dd964654 authored by Jose Jimenez's avatar Jose Jimenez

fd_stand_alone_main.c: Main file for stand-alone unnecesary stuff removed

Signed-off-by: 's avatarJose Jimenez <ppjm@correo.ugr.es>
parent b5fcf438
......@@ -27,7 +27,6 @@
#include <string.h>
#include <unistd.h> /* usleep */
#define sw_ctrl 0
#define mprintf pp_printf
#define vprintf pp_vprintf
#define sprintf pp_sprintf
......@@ -39,10 +38,7 @@ struct fmc_device fmc_loc;
extern unsigned char *BASE_TIMER;
extern uint32_t _endram;
extern uint32_t _fstack;
extern caddr_t heap;
extern uint32_t _HEAP_START;
extern uint32_t _HEAP_END;
int init_iterator=0;
extern int fd_calib_period_s;
int cali = 0;
......@@ -169,7 +165,7 @@ int main(void)
sdb_find_devices();
uart_init_hw();
mprintf("\nWR-Dbg: starting up... cern\n");
mprintf("\nWR-Dbg: starting up...\n");
usleep_init();
usleep(750*1000);
......@@ -272,7 +268,7 @@ int main(void)
mprintf("\n\n");
dev_info(NULL,"Type \"help\" to see command list.\n");
dev_info(NULL,
"Use \"<command_name -h>\" to explore commands usage.\n");
"Use \"<command_name> -h\" to explore commands usage.\n");
mprintf("\n");
init_iterator++;
break;
......@@ -293,7 +289,7 @@ int main(void)
}
mprintf("\n");
kernel_dev(0,"That thing died, sorry!!!\n");
kernel_dev(0,"This thing died, sorry!!!\n");
mprintf(" Restart the node.\n"
" I'm worried what you just read was *RESET* the node...\n"
" What I wrote was *RESTART* the node (unplug stuff...)\n\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment