#define portQUEUE_OVERHEAD_BYTES 0
-/* 1 - semaphores are used to protect critical sections; 0 - interrupt disable is used to protect critical sections */
-#define SYS_ARCH_SEMPHR_PROTECT 1
+/* 1 - semaphore/mutexe is used to protect critical sections; 0 - interrupt disable is used to protect critical sections */
+#define SYS_ARCH_SEMPHR_PROTECT 0 & !NO_SYS
typedef u8_t sys_prot_t;