Implemented 'hw status' and 'hw ping', put back client-side cacheing of 'hw version'

This commit is contained in:
Martin Holst Swende 2015-07-21 23:18:51 +02:00
commit e2012d1bd3
11 changed files with 96 additions and 19 deletions

View file

@ -558,3 +558,11 @@ void SetAdcMuxFor(uint32_t whichGpio)
HIGH(whichGpio);
}
void Fpga_print_status(void)
{
Dbprintf("Fgpa");
if(downloaded_bitstream == FPGA_BITSTREAM_HF) Dbprintf(" mode.............HF");
else if(downloaded_bitstream == FPGA_BITSTREAM_LF) Dbprintf(" mode.............LF");
else Dbprintf(" mode.............%d", downloaded_bitstream);
}