CHG: spelling misstake

CHG: code cleanup. unused function.
This commit is contained in:
iceman1001 2017-10-30 12:02:57 +01:00
parent fdf1566c23
commit 0ea06dbe9b
2 changed files with 9 additions and 7 deletions

View file

@ -525,7 +525,7 @@ void SetAdcMuxFor(uint32_t whichGpio) {
}
void Fpga_print_status(void) {
DbpString("Fgpa");
DbpString("Fpga");
switch(downloaded_bitstream) {
case FPGA_BITSTREAM_HF: DbpString(" mode....................HF"); break;
case FPGA_BITSTREAM_LF: DbpString(" mode....................LF"); break;
@ -541,6 +541,7 @@ int FpgaGetCurrent() {
// log message
// if HF, Disable SSC DMA
// turn off trace and leds off.
/*
void switch_off() {
if (MF_DBGLEVEL > 3) Dbprintf("switch_off");
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
@ -550,3 +551,4 @@ void switch_off() {
set_tracing(false);
LEDsoff();
}
*/

View file

@ -32,7 +32,7 @@ int FpgaGetCurrent();
#define FpgaEnableSscDma(void) AT91C_BASE_PDC_SSC->PDC_PTCR = AT91C_PDC_RXTEN;
void SetAdcMuxFor(uint32_t whichGpio);
extern void switch_off();
//extern void switch_off();
// definitions for multiple FPGA config files support
#define FPGA_BITSTREAM_MAX 2 // the total number of FPGA bitstreams (configs)