diff --git a/lib/busvoodoo_onewire.c b/lib/busvoodoo_onewire.c
index ee84ee8..92eba7c 100644
--- a/lib/busvoodoo_onewire.c
+++ b/lib/busvoodoo_onewire.c
@@ -12,10 +12,10 @@
* along with this program. If not, see .
*
*/
-/** BusVoodoo 1-wire mode (code)
- * @file busvoodoo_onewire.c
+/** BusVoodoo 1-wire mode
+ * @file
* @author King Kévin
- * @date 2018
+ * @date 2018-2020
* @note peripherals used: timer @ref onewire_master_timer
*/
/* standard libraries */
@@ -34,7 +34,9 @@
#include "menu.h" // menu definitions
#include "onewire_master.h" // 1-wire methods
#include "busvoodoo_global.h" // BusVoodoo definitions
+#if BUSVOODOO_HARDWARE_VERSION != 2
#include "busvoodoo_oled.h" // OLED utilities
+#endif
#include "busvoodoo_onewire.h" // own definitions
/** mode setup stage */
@@ -110,19 +112,21 @@ static bool busvoodoo_onewire_setup(char** prefix, const char* line)
busvoodoo_led_blue_off(); // disable blue LED because there is no activity
busvoodoo_onewire_setting = BUSVOODOO_ONEWIRE_SETTING_NONE; // restart settings next time
*prefix = "1-Wire"; // display mode
- busvoodoo_oled_text_left(*prefix); // set mode title on OLED display
const char* pinout_io[10] = {"GND", "5V", "3V3", "LV", NULL, "1WR", NULL, NULL, NULL, NULL}; // 1-wire mode pinout
for (uint8_t i=0; i.
*
*/
-/** BusVoodoo 1-wire mode (API)
- * @file busvoodoo_onewire.h
+/** BusVoodoo 1-wire mode
+ * @file
* @author King Kévin
- * @date 2018
+ * @date 2018-2020
* @note peripherals used: timer @ref onewire_master_timer
*/