Skip to content

Commit

Permalink
AP_Periph: show MCU temp in PPPGW web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Mar 17, 2024
1 parent 2241e2e commit 5e1c3ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/AP_Periph/Web/scripts/pppgw_webui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ local DYNAMIC_PAGES = {
<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>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>
]]
}
Expand Down

0 comments on commit 5e1c3ca

Please sign in to comment.