#define DS_DMA DMA1
#define DS_DMA_CH 6
-#define DS_DEBUG
+#undef DS_DEBUG
#undef DS_DEBUG2
#ifdef DS_DEBUG
if (!maxn--)
return;
ds_current_id++;
- if (ds_current_id >= DS_NUM_SENSORS)
+ if (ds_current_id >= DS_NUM_SENSORS) {
ds_current_id = 0;
+ }
} while (!ds_sensors[ds_current_id].address[0]);
#endif
if (!ds_activate()) {