Reduced the size of BigBuf to make more room for stack/vars

This commit is contained in:
d18c7db 2009-07-29 13:37:09 +00:00
commit 0422e2a471
5 changed files with 8 additions and 19 deletions

View file

@ -123,6 +123,7 @@ void AcquireTiType(void)
int n = 1250;
// clear buffer
DbpIntegers((DWORD)BigBuf, sizeof(BigBuf), 0x12345678);
memset(BigBuf,0,sizeof(BigBuf));
// Set up the synchronous serial port
@ -218,17 +219,6 @@ void AcquireRawBitsTI(void)
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
}
// this is a dummy function to get around
// a possible flash bug in the bootloader
// delete once you've added more code.
void DummyDummyDummy(void)
{
FpgaSendCommand(FPGA_CMD_SET_DIVISOR, 88); //134.8Khz
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_PASSTHRU);
AcquireTiType();
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
}
// arguments: 64bit data split into 32bit idhi:idlo and optional 16bit crc
// if crc provided, it will be written with the data verbatim (even if bogus)
// if not provided a valid crc will be computed from the data and written.