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:
parent
b0bbe8aa75
commit
e2b5602acf
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue