AP_Periph: show MCU temp in PPPGW web UI

This commit is contained in:
Andrew Tridgell 2024-03-17 18:40:56 +11:00 committed by Peter Barker
parent bcfc273799
commit 57c8c19452
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ local DYNAMIC_PAGES = {
<tr><td>IP</td><td><?lstr networking:address_to_str(networking:get_ip_active()) ?></td></tr> <tr><td>IP</td><td><?lstr networking:address_to_str(networking:get_ip_active()) ?></td></tr>
<tr><td>Netmask</td><td><?lstr networking:address_to_str(networking:get_netmask_active()) ?></td></tr> <tr><td>Netmask</td><td><?lstr networking:address_to_str(networking:get_netmask_active()) ?></td></tr>
<tr><td>Gateway</td><td><?lstr networking:address_to_str(networking:get_gateway_active()) ?></td></tr> <tr><td>Gateway</td><td><?lstr networking:address_to_str(networking:get_gateway_active()) ?></td></tr>
<tr><td>MCU Temperature</td><td><?lstr string.format("%.1fC", analog:mcu_temperature()) ?></td></tr>
</table> </table>
]] ]]
} }