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 authored and peterbarker committed Jun 27, 2024
1 parent bcfc273 commit 57c8c19
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 @@ -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>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 57c8c19

Please sign in to comment.