From 02c1263324a8ff53ef2c74de35cae3ed45249f7f Mon Sep 17 00:00:00 2001 From: HubertH <51236138+hubertushirsch@users.noreply.github.com> Date: Fri, 2 Feb 2024 23:00:11 +0100 Subject: [PATCH] Update aftb_mcp4131.h Minor change --- aftb_mcp4131.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aftb_mcp4131.h b/aftb_mcp4131.h index d231484..8670c95 100644 --- a/aftb_mcp4131.h +++ b/aftb_mcp4131.h @@ -1,6 +1,10 @@ //MCP4131 digital pot (bitbanged control) for Afterburner GAL project. // * compatible with MCP4151 (resolution of the wiper is halved to match MCP4131) +// 2024-02-02 Minor change +#ifndef __AFTB_MCP4131_H__ +#define __AFTB_MCP4131_H__ + //set default pins #ifndef POT_CS #define POT_CS A3 @@ -156,4 +160,4 @@ static uint8_t mcp4131_detect(void) { #endif return 1; } - +#endif