summaryrefslogtreecommitdiffstats
path: root/polycom_xmit/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'polycom_xmit/util.c')
-rw-r--r--polycom_xmit/util.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/polycom_xmit/util.c b/polycom_xmit/util.c
index d637174..1d44f3d 100644
--- a/polycom_xmit/util.c
+++ b/polycom_xmit/util.c
@@ -1,7 +1,7 @@
#include "project.h"
-char *ICACHE_FLASH_ATTR
+ICACHE_FLASH_ATTR char *
bounded_strstr (char *haystack, uint32_t len, char *needle)
{
char *end = haystack + len;
@@ -45,3 +45,11 @@ util_isspace (char c)
return false;
}
}
+
+ICACHE_FLASH_ATTR void
+crash (void)
+{
+ char *c = NULL;
+
+ os_printf ("%d", *c);
+}