mirror of
				https://github.com/Klipper3d/klipper.git
				synced 2025-10-31 18:36:09 +01:00 
			
		
		
		
	buildcommands: Call irq_poll() after last task function
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
		| @@ -46,7 +46,9 @@ class HandleCallList: | |||||||
|             func_code = ['    extern void %s(void);\n    %s();' % (f, f) |             func_code = ['    extern void %s(void);\n    %s();' % (f, f) | ||||||
|                          for f in funcs] |                          for f in funcs] | ||||||
|             if funcname == 'ctr_run_taskfuncs': |             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 = """ |             fmt = """ | ||||||
| void | void | ||||||
| %s(void) | %s(void) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user