I have created a pull request for SPI.end. In the current setup, it tries to remove the dev-instance if it does NOT exist (which only happens if you have NOT called SPI.begin()).
if (! dev) {
delete dev;
}
As a result the dev-instance is never removed, memory released, when the instance was set
I have created a pull request for SPI.end. In the current setup, it tries to remove the dev-instance if it does NOT exist (which only happens if you have NOT called SPI.begin()).
As a result the dev-instance is never removed, memory released, when the instance was set
it should read :
regards, Paul