Subject: Re: halt/reset on assert?

From: Evan Lavelle <[email-masked]>
Date: Wed, 06 Apr 2011 14:01:07 +0100

Hi Andreas -

that's great; thanks. I'm on 2.4.4, which doesn't have BUG_ON. The right 
way for 2.4.4 turns out to be

#define MY_ASSERT(expr) if(!(expr)) BUG()

-Evan