From 19ec02773f67c0b00301760ef28433fd1ab29836 Mon Sep 17 00:00:00 2001 From: Andreas Reder Date: Tue, 23 Apr 2013 10:14:58 +0200 Subject: [PATCH] corrected bug when changing panid --- examples/osd/slip-radio/slip-radio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osd/slip-radio/slip-radio.c b/examples/osd/slip-radio/slip-radio.c index 529f19cfd..f8baec682 100644 --- a/examples/osd/slip-radio/slip-radio.c +++ b/examples/osd/slip-radio/slip-radio.c @@ -150,11 +150,11 @@ slip_radio_cmd_handler(const uint8_t *data, int len) return 1; } else if( data[1] == 'P'){ panid = (data[2] << 8) + data[3]; - PRINTF("slip-radio: received change panid command, new panid %u\n", panid); + printf("slip-radio: received change panid command, new panid %u\n", panid); cli(); eeprom_write_word(&eemem_panid, panid); sei(); - watchdog_reboot(); + //watchdog_reboot(); } } return 0;