aboutsummaryrefslogtreecommitdiff
path: root/slipenc
diff options
context:
space:
mode:
Diffstat (limited to 'slipenc')
-rw-r--r--slipenc/slipenc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/slipenc/slipenc.c b/slipenc/slipenc.c
index fc2747b..814b5cd 100644
--- a/slipenc/slipenc.c
+++ b/slipenc/slipenc.c
@@ -38,15 +38,15 @@ PROTOCOL
#include "m_pd.h"
/* -------------------------- slipenc -------------------------- */
-#ifndef _SLIPCODES
-/* SLIP special character codes */
-#define SLIP_END 0300 /* indicates end of packet */
-#define SLIP_ESC 0333 /* indicates byte stuffing */
-#define SLIP_ESC_END 0334 /* SLIP_ESC SLIP_ESC_END means SLIP_END data byte */
-#define SLIP_ESC_ESC 0335 /* SLIP_ESC SLIP_ESC_ESC means SLIP_ESC data byte */
-#define MAX_SLIP 1006 /* maximum SLIP packet size */
-#define _SLIPCODES
-#endif // _SLIPCODES
+#ifndef _SLIPCODES
+/* SLIP special character codes */
+#define SLIP_END 0300 /* indicates end of packet */
+#define SLIP_ESC 0333 /* indicates byte stuffing */
+#define SLIP_ESC_END 0334 /* SLIP_ESC SLIP_ESC_END means SLIP_END data byte */
+#define SLIP_ESC_ESC 0335 /* SLIP_ESC SLIP_ESC_ESC means SLIP_ESC data byte */
+#define MAX_SLIP 1006 /* maximum SLIP packet size */
+#define _SLIPCODES
+#endif // _SLIPCODES
static t_class *slipenc_class;
@@ -100,7 +100,7 @@ static void slipenc_list(t_slipenc *x, t_symbol *s, int ac, t_atom *av)
if (c != f)
{
/* abort, bad input character */
- pd_error (x, "slipenc: input %d out of range [0..255]", f);
+ pd_error (x, "slipenc: input %f out of range [0..255]", f);
return;
}
if(SLIP_END == c)