Remove public key printout from CTRL task startup

pull/46/head
Pawel Jalocha 2022-02-12 12:45:14 +00:00
rodzic d5ffbfacec
commit fee2909d2f
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -440,10 +440,10 @@ void vTaskCTRL(void* pvParameters)
IGC_SignKey.Init(); IGC_SignKey.Init();
IGC_SignKey.Generate(); IGC_SignKey.Generate();
if(IGC_SignKey.ReadFromNVS()!=ESP_OK) IGC_SignKey.WriteToNVS(); if(IGC_SignKey.ReadFromNVS()!=ESP_OK) IGC_SignKey.WriteToNVS();
xSemaphoreTake(CONS_Mutex, portMAX_DELAY); // xSemaphoreTake(CONS_Mutex, portMAX_DELAY);
if(IGC_SignKey.Pub_Write((uint8_t *)Line, 512)==0) // if(IGC_SignKey.Pub_Write((uint8_t *)Line, 512)==0)
Format_String(CONS_UART_Write, Line); // Format_String(CONS_UART_Write, Line);
xSemaphoreGive(CONS_Mutex); // xSemaphoreGive(CONS_Mutex);
uint8_t Len=Format_String(Line, "$POGNS,SysStart"); uint8_t Len=Format_String(Line, "$POGNS,SysStart");
Len+=NMEA_AppendCheckCRNL(Line, Len); Len+=NMEA_AppendCheckCRNL(Line, Len);