fix gcc warning: function used but not defined

The 'cdelay()' function is defined in LiteX 'liblitedram', so we
should not be using 'static' to declare it before calling it from
other C source files.
This commit is contained in:
Gabriel Somlo 2021-05-26 10:35:25 -04:00
parent b0bbe8aa75
commit e2b5602acf
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ def get_sdram_phy_c_header(phy_settings, timing_settings):
r += "\n" r += "\n"
r += "static void cdelay(int i);\n" r += "void cdelay(int i);\n"
# Commands functions # Commands functions
for n in range(nphases): for n in range(nphases):