]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/fpgaloader.c
Upgrade crapto1 library to v3.3 (#232)
[proxmark3-svn] / armsrc / fpgaloader.c
index 16fed7c52469b857437a3d58474a1dd4d892f4b4..e211c12fbd5a7e5119b86d6196da954e1b0198ef 100644 (file)
@@ -558,3 +558,15 @@ 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);
+}
+
+int FpgaGetCurrent() {
+       return downloaded_bitstream;
+}
Impressum, Datenschutz