FreeRTOS-Kernel/verification/verifast/proof_setup/verifast_asm.h
2022-10-22 12:39:54 -04:00

12 lines
No EOL
209 B
C

#ifndef VERIFAST_ASM_H
#define VERIFAST_ASM_H
bool assert_fct(bool b)
{
assert(b);
return b;
}
#undef portCHECK_IF_IN_ISR
#define portCHECK_IF_IN_ISR() assert_fct(false)
#endif /* VERIFAST_ASM_H */