#ifndef CFG_AFSK_H
#define CFG_AFSK_H
+/**
+ * Module logging level.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_level"
+ */
+#define AFSK_LOG_LEVEL LOG_LVL_WARN
+
+/**
+ * Module logging format.
+ *
+ * $WIZ$ type = "enum"
+ * $WIZ$ value_list = "log_format"
+ */
+#define AFSK_LOG_FORMAT LOG_FMT_TERSE
+
/**
* AFSK discriminator filter type.
#include <cfg/module.h>
+#define LOG_LEVEL AFSK_LOG_LEVEL
+#define LOG_FORMAT AFSK_LOG_FORMAT
+#include <cfg/log.h>
+
#include <cpu/power.h>
#include <struct/fifobuf.h>
AFSK_ADC_INIT(adc_ch, af);
AFSK_DAC_INIT(dac_ch, af);
AFSK_STROBE_INIT();
- kprintf("MARK_INC %d, SPACE_INC %d\n", MARK_INC, SPACE_INC);
+ LOG_INFO("MARK_INC %d, SPACE_INC %d\n", MARK_INC, SPACE_INC);
DB(af->fd._type = KFT_AFSK);
af->fd.write = afsk_write;