changes for testram which didnt work anyway

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@111 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
l_maliakal_d
2012-01-23 15:05:08 +00:00
parent 41fea1fbcf
commit 094a87ec7b
2 changed files with 3 additions and 6 deletions

View File

@ -511,6 +511,7 @@ u_int32_t getMcsVersion() {
// for fpga test
u_int32_t testFpga(void) {
printf("Test FPGA:\n");
u_int32_t val,addr;
int result=OK,i;
//fixed pattern
@ -572,7 +573,7 @@ u_int32_t testRAM(void) {
allocateRAM();
// while(i<100000) {
memcpy(ram_values, values, dataBytes);
printf ("%d: copied fifo %x to memory %x size %d\n",i++, values, ram_values, dataBytes);
printf ("Test RAM:\t%d: copied fifo %x to memory %x size %d\n",i++, values, ram_values, dataBytes);
// }
return result;
}
@ -1677,7 +1678,6 @@ int allocateRAM() {
#ifdef VERBOSE
printf("RAM of size %d already allocated: nothing to be done\n", size);
#endif
return OK;
}