]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
Fixed it so it accepts DOS (CRLF) text files as input.
authord18c7db <d18c7db@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sun, 19 Jul 2009 03:48:02 +0000 (03:48 +0000)
committerd18c7db <d18c7db@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Sun, 19 Jul 2009 03:48:02 +0000 (03:48 +0000)
tools/rbt2c.pl

index 949c9ae93cc6bdf70bb8fd31609f60db2fe2f579..3e1e1fc4b70f2eab6896a759ebd41dff08bddbe8 100644 (file)
@@ -3,6 +3,8 @@
 # This tool converts a Xilinx xxx.rbt FPGA bitstream to a table that will\r
 # compile as C source code. The output format is DWORDs, MSB first.\r
 \r
+local $/ = "\r\n";\r
+\r
 print "// Generated by rbt2c.pl, do not edit!\n\n";\r
 \r
 for(1..7) {\r
Impressum, Datenschutz