]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/fpgaloader.c
Merge remote-tracking branch 'upstream/master'
[proxmark3-svn] / armsrc / fpgaloader.c
index 16fed7c52469b857437a3d58474a1dd4d892f4b4..e211c12fbd5a7e5119b86d6196da954e1b0198ef 100644 (file)
@@ -558,3 +558,15 @@ void SetAdcMuxFor(uint32_t whichGpio)
 
        HIGH(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);
+}
+
+int FpgaGetCurrent() {
+       return downloaded_bitstream;
+}
Impressum, Datenschutz