Skip to content

Commit 8744671

Browse files
committed
Ensure we add error lines and files in all except release builds. Doing so only in debug is overkill
1 parent 37ceda5 commit 8744671

File tree

1 file changed

+1
-1
lines changed
  • targetlibs/nrf5x_12/components/libraries/util

1 file changed

+1
-1
lines changed

targetlibs/nrf5x_12/components/libraries/util/app_error.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ static __INLINE void app_error_print(uint32_t id, uint32_t pc, uint32_t info)
189189
*
190190
* @param[in] ERR_CODE Error code supplied to the error handler.
191191
*/
192-
#ifdef DEBUG
192+
#ifndef RELEASE
193193
#define APP_ERROR_HANDLER(ERR_CODE) \
194194
do \
195195
{ \

0 commit comments

Comments
 (0)