pierremolinaro / acan2517

Arduino CAN driver for MCP2517FD CAN Controller (in CAN 2.0B mode)
MIT License
22 stars 10 forks source link

Multiple call to begin cause memory problems #14

Open pedrodpj opened 2 years ago

pedrodpj commented 2 years ago

Hi,

Due to low power reasons I'm turning off can device and turn again when necessary. I've found that after calling (code below) for some times, I've get memory problems.

const uint32_t errorCode = can.begin (settings, isr_can, filters) ;