We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c05cb61 commit 50b158aCopy full SHA for 50b158a
src/rfal_rfst25r3916.cpp
@@ -71,8 +71,10 @@ ReturnCode RfalRfST25R3916Class::rfalInitialize(void)
71
{
72
ReturnCode err;
73
74
- pinMode(cs_pin, OUTPUT);
75
- digitalWrite(cs_pin, HIGH);
+ if (i2c_enabled == false) {
+ pinMode(cs_pin, OUTPUT);
76
+ digitalWrite(cs_pin, HIGH);
77
+ }
78
79
pinMode(int_pin, INPUT);
80
Callback<void()>::func = std::bind(&RfalRfST25R3916Class::st25r3916Isr, this);
0 commit comments