From 1bd04bb4a6cb30c2194b3e27338b5dc5a618e835 Mon Sep 17 00:00:00 2001 From: Skot Date: Fri, 31 May 2024 16:01:04 -0400 Subject: [PATCH] add version mask debug --- components/stratum/stratum_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/stratum/stratum_api.c b/components/stratum/stratum_api.c index fa59464f7..f6b223a31 100644 --- a/components/stratum/stratum_api.c +++ b/components/stratum/stratum_api.c @@ -186,8 +186,9 @@ void STRATUM_V1_parse(StratumApiV1Message * message, const char * stratum_json) if (mask != NULL) { result = STRATUM_RESULT_VERSION_MASK; message->version_mask = strtoul(mask->valuestring, NULL, 16); + ESP_LOGI(TAG, "Set version mask: %08lx", message->version_mask); } else { - ESP_LOGI(TAG, "unhandled result in stratum message: %s", stratum_json); + ESP_LOGI(TAG, "error setting version mask: %s", stratum_json); } } else {