]> rtime.felk.cvut.cz Git - sysless.git/blobdiff - arch/arm/mach-lpc21xx/tools/lpc21isp/lpc21isp.c
Fixed some lpc21isp warnings
[sysless.git] / arch / arm / mach-lpc21xx / tools / lpc21isp / lpc21isp.c
index 976836ebcf539c0cef5701a9766c7cf3e2d8568c..a34b0406c6ddec604f256a21706fbbb1a61e2287 100644 (file)
@@ -741,7 +741,7 @@ error rather abruptly terminates the program.
 \param [in] DTR the state to set the DTR line to.\r
 \param [in] RTS the state to set the RTS line to.\r
 */\r
-static void ControlModemLines(ISP_ENVIRONMENT *IspEnvironment, unsigned char DTR, unsigned char RTS)\r
+void ControlModemLines(ISP_ENVIRONMENT *IspEnvironment, unsigned char DTR, unsigned char RTS)\r
 {\r
     //handle wether to invert the control lines:\r
     DTR ^= IspEnvironment->ControlLinesInverted;\r
@@ -1242,7 +1242,7 @@ error rather abruptly terminates the program.
 \param [in] c the hex digit to convert.\r
 \return the value of the hex digit.\r
 */\r
-static unsigned char Ascii2Hex(unsigned char c)\r
+unsigned char Ascii2Hex(unsigned char c)\r
 {\r
     if (c >= '0' && c <= '9')\r
     {\r
@@ -1477,7 +1477,7 @@ void ReadHexFile(ISP_ENVIRONMENT *IspEnvironment)
 /**  Loads the requested file to download into memory.\r
 \param [in] IspEnvironment  structure containing input filename\r
 */\r
-static void LoadFile(ISP_ENVIRONMENT *IspEnvironment)\r
+void LoadFile(ISP_ENVIRONMENT *IspEnvironment)\r
 {\r
     int            fd;\r
     int            i;\r