Update aftb_mcp4131.h

Minor change
This commit is contained in:
HubertH 2024-02-02 23:00:11 +01:00 committed by GitHub
parent df2dbd01bd
commit 02c1263324
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,10 @@
//MCP4131 digital pot (bitbanged control) for Afterburner GAL project. //MCP4131 digital pot (bitbanged control) for Afterburner GAL project.
// * compatible with MCP4151 (resolution of the wiper is halved to match MCP4131) // * 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 //set default pins
#ifndef POT_CS #ifndef POT_CS
#define POT_CS A3 #define POT_CS A3
@ -156,4 +160,4 @@ static uint8_t mcp4131_detect(void) {
#endif #endif
return 1; return 1;
} }
#endif