Commit c6586f9e authored by Andrey Filippov's avatar Andrey Filippov

Added function declaration

parent 636a8f86
......@@ -8,6 +8,9 @@
#include "elphel/x393_types.h"
//#include "elphel/x393_defs.h // alternative variant"
// init_mmio_ptr() should be called once before using any of the other declared functions
int init_mmio_ptr(void);
// R/W addresses to set up memory arbiter priorities. For sensors (chn = 8..11), for compressors - 12..15
......
......@@ -127,6 +127,9 @@ class X393ExportC(object):
# Includes section
txt = '\n#include "elphel/x393_types.h"\n'
txt +='//#include "elphel/x393_defs.h // alternative variant"\n\n'
txt += '// init_mmio_ptr() should be called once before using any of the other declared functions\n\n'
txt += 'int init_mmio_ptr(void);\n'
for d in ld:
fd=self.expand_define_maxi0(d, mode = "func_decl",frmt_spcs = None)
if fd:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment