Clone InitI2c() as InitI2cV2() and use it in the LPTMR interrupt handler to avoid the hard fault.

This commit is contained in:
László Monda
2017-09-30 17:06:17 +02:00
parent 3e5767e141
commit cec8bbfe01
3 changed files with 29 additions and 4 deletions

View File

@@ -12,5 +12,6 @@
void InitPeripherals(void);
void InitI2c(void);
void InitI2cV2(void);
#endif