Skip to content

Commit

Permalink
add version mask debug
Browse files Browse the repository at this point in the history
  • Loading branch information
skot committed May 31, 2024
1 parent c9f44b5 commit 1bd04bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/stratum/stratum_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1bd04bb

Please sign in to comment.