diff options
author | Evan Lojewski <github@meklort.com> | 2019-05-04 19:24:34 -0600 |
---|---|---|
committer | Evan Lojewski <github@meklort.com> | 2019-05-04 19:24:34 -0600 |
commit | b1adb232ee50fa1e936508f22adc6cafd6115339 (patch) | |
tree | 7b9e2993d22ea89457acc5f669691e449e631972 /libs/NCSI/ncsi.c | |
parent | 59f8d0ac2cf869d4af63666b381a582a4c2d65ad (diff) | |
download | bcm5719-ortega-b1adb232ee50fa1e936508f22adc6cafd6115339.tar.gz bcm5719-ortega-b1adb232ee50fa1e936508f22adc6cafd6115339.zip |
Reset NCSI state on reloading firmware.
Diffstat (limited to 'libs/NCSI/ncsi.c')
-rw-r--r-- | libs/NCSI/ncsi.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/NCSI/ncsi.c b/libs/NCSI/ncsi.c index d490c94..e2c3b68 100644 --- a/libs/NCSI/ncsi.c +++ b/libs/NCSI/ncsi.c @@ -667,5 +667,13 @@ void sendNCSIResponse(uint8_t InstanceID, uint8_t channelID, uint16_t controlID, NCSI_TxPacket(gResponseFrame.words, packetSize); } +void NCSI_init(void) +{ + for(int i = 0; i < ARRAY_ELEMENTS(gPackageState.channel); i++) + { + gPackageState.channel[i].shm->NcsiChannelInfo.bits.Ready = false; + } +} + |