From e93575ec98847a9db0e9bddaadc37eff9a1d6c56 Mon Sep 17 00:00:00 2001 From: Nathael Pajani Date: Fri, 28 Oct 2016 03:19:51 +0200 Subject: [PATCH] Add enum for SSP bus numbers --- include/drivers/ssp.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/drivers/ssp.h b/include/drivers/ssp.h index e2e83cc..ee1a629 100644 --- a/include/drivers/ssp.h +++ b/include/drivers/ssp.h @@ -34,6 +34,10 @@ #include "core/lpc_regs.h" +enum ssp_bus_number { + SSP_BUS_0 = 0, +}; + /* Set this to 1 for use of this driver in a multitasking OS, it will activate the SPI Mutex */ #define MULTITASKING 0 -- 2.43.0