From fee2909d2ffa6c4b528015fa05d992f9e5a9a4c6 Mon Sep 17 00:00:00 2001 From: Pawel Jalocha Date: Sat, 12 Feb 2022 12:45:14 +0000 Subject: [PATCH] Remove public key printout from CTRL task startup --- main/ctrl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main/ctrl.cpp b/main/ctrl.cpp index 549d6d1..7e14067 100644 --- a/main/ctrl.cpp +++ b/main/ctrl.cpp @@ -440,10 +440,10 @@ void vTaskCTRL(void* pvParameters) IGC_SignKey.Init(); IGC_SignKey.Generate(); if(IGC_SignKey.ReadFromNVS()!=ESP_OK) IGC_SignKey.WriteToNVS(); - xSemaphoreTake(CONS_Mutex, portMAX_DELAY); - if(IGC_SignKey.Pub_Write((uint8_t *)Line, 512)==0) - Format_String(CONS_UART_Write, Line); - xSemaphoreGive(CONS_Mutex); + // xSemaphoreTake(CONS_Mutex, portMAX_DELAY); + // if(IGC_SignKey.Pub_Write((uint8_t *)Line, 512)==0) + // Format_String(CONS_UART_Write, Line); + // xSemaphoreGive(CONS_Mutex); uint8_t Len=Format_String(Line, "$POGNS,SysStart"); Len+=NMEA_AppendCheckCRNL(Line, Len);