mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-15 21:10:49 +00:00
Update aftb_mcp4131.h
Minor change
This commit is contained in:
parent
df2dbd01bd
commit
02c1263324
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user