From 9efd47952e368bc60c71f22d1e47160c7c6e5644 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 9 Apr 2020 13:34:51 +0200 Subject: [PATCH] drivers/ws281x: Extended doc Point out that automatic backend selection is performed, when no backend is selected. --- drivers/include/ws281x.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/include/ws281x.h b/drivers/include/ws281x.h index f4d210e840..fe448ee198 100644 --- a/drivers/include/ws281x.h +++ b/drivers/include/ws281x.h @@ -48,7 +48,17 @@ * * ### Usage * - * Add the following to your `Makefile` to use: + * Add the following to your `Makefile`: + * + * * Auto-selecting the backend: + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile + * USEMODULE += ws281x + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * This will automatically pull in one of the backends supported by your board. + * In case multiple backends apply and the automatic selection does not pick + * your preferred backend, you can manually pick your preferred backend as + * described below. * * * the ATmega backend: * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile