Skip to content

Commit

Permalink
add x20 overheat warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Apr 22, 2024
1 parent 3e143e7 commit 64e44cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qml/ui/widgets/X20OverheatWidget.qml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Item {
// 2 - error, overheating protection on (Video disabled)
property int m_x20_state: {
//return 1;
if(_ohdSystemAir.ohd_platform_type!=30){
// only on x20
return 0;
}
if(_ohdSystemAir.video_disabled_due_to_overheating<0){
return 0; // Unknown
}
Expand Down

0 comments on commit 64e44cf

Please sign in to comment.