* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
		
			
				
	
	
		
			13 lines
		
	
	
		
			222 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			222 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once
 | 
						|
#include "main.h"
 | 
						|
#include <cmsis_os2.h>
 | 
						|
#include <stdbool.h>
 | 
						|
 | 
						|
// Task stack size in bytes
 | 
						|
#define DEFAULT_STACK_SIZE 4096
 | 
						|
 | 
						|
// Max system tasks count
 | 
						|
#define MAX_TASK_COUNT 14
 | 
						|
 | 
						|
bool task_is_isr_context(void);
 |