Rename power.h to Power.h for casing consistency with Power.cpp (#10919)

Every other .cpp/.h pair in src/ (350 of 351) uses identical
capitalization between the two files. Power.cpp/power.h was the sole
outlier; this aligns it with the rest of the codebase. No functional
change — all includes already resolved this file the same way on
case-sensitive filesystems.

Assisted-by: Claude Sonnet 5 <noreply@anthropic.com>

Signed-off-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
This commit is contained in:
Andrew Yong
2026-07-07 10:15:01 -05:00
committed by GitHub
co-authored by GitHub Ben Meadors
parent 97302f1845
commit d16ae2b098
18 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ struct BannerOverlayOptions {
bool shouldWakeOnReceivedMessage();
#if !HAS_SCREEN
#include "power.h"
#include "Power.h"
namespace graphics
{
// Noop class for boards without screen.
@@ -107,6 +107,7 @@ class Screen
#include "EInkDisplay2.h"
#include "EInkDynamicDisplay.h"
#include "PointStruct.h"
#include "Power.h"
#include "TFTDisplay.h"
#include "TypedQueue.h"
#include "commands.h"
@@ -116,7 +117,6 @@ class Screen
#include "input/InputBroker.h"
#include "mesh/MeshModule.h"
#include "modules/AdminModule.h"
#include "power.h"
#include <string>
#include <vector>
+1 -1
View File
@@ -2,6 +2,7 @@
#if HAS_SCREEN
#include "MeshService.h"
#include "NodeDB.h"
#include "Power.h"
#include "RTC.h"
#include "draw/NodeListRenderer.h"
#include "graphics/ScreenFonts.h"
@@ -12,7 +13,6 @@
#include "main.h"
#include "meshtastic/config.pb.h"
#include "modules/ExternalNotificationModule.h"
#include "power.h"
#include <OLEDDisplay.h>
#include <cctype>
#include <graphics/images.h>
@@ -7,6 +7,7 @@
#include "MeshRadio.h"
#include "MeshService.h"
#include "MessageStore.h"
#include "Power.h"
#include "RTC.h"
#include "Router.h"
#include "airtime.h"
@@ -14,7 +15,6 @@
#include "graphics/niche/Utils/FlashData.h"
#include "main.h"
#include "mesh/generated/meshtastic/deviceonly.pb.h"
#include "power.h"
#include <RadioLibInterface.h>
#include <target_specific.h>
#if defined(ARCH_ESP32) && HAS_WIFI