Fix up crashing firmware

This commit is contained in:
Michael McMaster 2021-01-10 10:06:02 +10:00
parent 0c3d1bcdd3
commit ac604b2b0c
1 changed files with 2 additions and 2 deletions

View File

@ -60,10 +60,10 @@ S2S_Device** s2s_GetDevices(int* count)
#ifdef NOR_SPI_DATA_WIDTH
*count = 2;
allDevices[0] = spiFlashDevice;
allDevices[1] = spiFlashDevice;
#endif
return &allDevices;
return allDevices;
}
void s2s_deviceEarlyInit()