[riot-devel] LPM idle_thread

Kaspar Schleiser kaspar at schleiser.de
Sun May 10 09:09:07 CEST 2015


On 05/09/15 20:24, Oleg Hahm wrote:
>> DEVELHELP should not be used to change the semantics of things.
> Can you elaborate?
The system should behave the same whether develhelp is used or not.

If you do something like

	print("error message");
	return ERROR;

then the application will work correctly (e.g., handle the error) with
DEVELHELP and probably crash without. But DEVELHELP is supposed to
expose bugs, not work around them. So in this example, the "return
ERROR" should be omitted.


More information about the devel mailing list