8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41cdbd9 commit 976bda6Copy full SHA for 976bda6
cores/esp32/chip-debug-report.cpp
@@ -87,12 +87,7 @@ static void printChipInfo(void) {
87
default: chip_report_printf("Unknown %d\n", info.model); break;
88
}
89
90
- chip_report_printf(" Revision : ");
91
- if (info.revision > 0xFF) {
92
- chip_report_printf("%d.%d\n", info.revision >> 8, info.revision & 0xFF);
93
- } else {
94
- chip_report_printf("%d\n", info.revision);
95
- }
+ chip_report_printf(" Revision : %.2f\n", (float)(info.revision) / 100.0);
96
chip_report_printf(" Cores : %d\n", info.cores);
97
rtc_cpu_freq_config_t conf;
98
rtc_clk_cpu_freq_get_config(&conf);
0 commit comments