Skip to content

Commit

Permalink
buildcommands: Call irq_poll() after last task function
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Apr 21, 2021
1 parent 8f9e497 commit 3d37362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/buildcommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ def generate_code(self, options):
func_code = [' extern void %s(void);\n %s();' % (f, f)
for f in funcs]
if funcname == 'ctr_run_taskfuncs':
func_code = [' irq_poll();\n' + fc for fc in func_code]
add_poll = ' irq_poll();\n'
func_code = [add_poll + fc for fc in func_code]
func_code.append(add_poll)
fmt = """
void
%s(void)
Expand Down

0 comments on commit 3d37362

Please sign in to comment.