mirror of
https://github.com/thelsing/knx.git
synced 2026-02-23 13:50:35 +01:00
Move CC1310 platform init around
This commit is contained in:
@@ -10,7 +10,7 @@ void setup()
|
||||
pKnx = new KnxFacade<CC1310Platform, Bau07B0>;
|
||||
KnxFacade<CC1310Platform, Bau07B0> &knx = *pKnx;
|
||||
|
||||
knx.platform().earlyInit();
|
||||
knx.platform().init();
|
||||
|
||||
knx.readMemory();
|
||||
|
||||
|
||||
@@ -107,13 +107,6 @@ int main(void)
|
||||
// Call driver init functions before starting NoRTOS/RTOS
|
||||
Board_init();
|
||||
|
||||
// TI Drivers init before starting NoRTOS/RTOS
|
||||
UART_init();
|
||||
NVS_init();
|
||||
//I2C_init();
|
||||
//SPI_init();
|
||||
//TRNG_init();
|
||||
|
||||
// Start NoRTOS (this just enables the HwI globally and returns immediately as
|
||||
// we are not using RTOS here)
|
||||
NoRTOS_start();
|
||||
|
||||
Reference in New Issue
Block a user