Commit 42ad317a authored by Tomasz Wlostowski's avatar Tomasz Wlostowski Committed by Alessandro Rubini

lib/fdelay-lib.h: added FDELAY_OUTPUT macro

parent 23868de7
......@@ -22,6 +22,12 @@ extern "C" {
#include <stdint.h>
#include "fine-delay.h"
/* Convenience macro for converting the physical output connector
numbers (as seen on the mezzanine's front panel) to convention used
by the drive (0..3). We keep 0..3 indexing to maintain library
compatibility. */
#define FDELAY_OUTPUT(out) ((out) + 1)
/* Opaque data type used as token */
struct fdelay_board;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment