Skip to content

Commit

Permalink
axicdma: Fix gcc warning in peripheral test application
Browse files Browse the repository at this point in the history
Remove space between backslash and newline.
Fixes below gcc warning-

periph.c:99:63: warning: backslash and newline separated by space
         status = XAxiCdma_SimpleIntrExample(&intc, &axi_cdma_1, \

Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
  • Loading branch information
radheyxilinx authored and saddepal committed Aug 25, 2018
1 parent f4a6914 commit da70e17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions XilinxProcessorIPLib/drivers/axicdma/data/axicdma_tapp.tcl
Expand Up @@ -28,6 +28,7 @@
# Ver Who Date Changes
# -------- ------ -------- ----------------------------------------------------
# 3.0 adk 12/10/13 Updated as per the New Tcl API's
# 4.5 rsp 07/06/18 Remove space b/w backslash and newline
##############################################################################

## @BEGIN_CHANGELOG EDK_I_SP1
Expand Down Expand Up @@ -283,7 +284,7 @@ proc gen_testfunc_call {swproj mhsinst} {
print(\"\\r\\n Running XAxiCdma_SimpleIntrExample for ${ipname}...\\r\\n\");
status = XAxiCdma_SimpleIntrExample(&${intcvar}, &${ipname}, \\
status = XAxiCdma_SimpleIntrExample(&${intcvar}, &${ipname}, \\
${deviceid},
${intr_id});
Expand Down Expand Up @@ -331,7 +332,7 @@ proc gen_testfunc_call {swproj mhsinst} {
print(\"\\r\\n Running XAxiCdma_SgIntrExample for ${ipname}...\\r\\n\");
status = XAxiCdma_SgIntrExample(&${intcvar}, &${ipname}, \\
status = XAxiCdma_SgIntrExample(&${intcvar}, &${ipname}, \\
${deviceid},
${intr_id});
Expand Down

0 comments on commit da70e17

Please sign in to comment.