Normalize whitespace in comments and includes
Standardize spacing in inline comments and remove extra blank line in include statement for consistency
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
|
|
||||||
#include "I18n.h"
|
#include "I18n.h"
|
||||||
#include "RecentBooksStore.h"
|
#include "RecentBooksStore.h"
|
||||||
#include "components/icons/bluetooth.h"
|
|
||||||
#include "components/UITheme.h"
|
#include "components/UITheme.h"
|
||||||
|
#include "components/icons/bluetooth.h"
|
||||||
#include "components/icons/bookmark.h"
|
#include "components/icons/bookmark.h"
|
||||||
#include "fontIds.h"
|
#include "fontIds.h"
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -570,9 +570,9 @@ void loop() {
|
|||||||
static unsigned long lastMemPrint = 0;
|
static unsigned long lastMemPrint = 0;
|
||||||
|
|
||||||
gpio.update();
|
gpio.update();
|
||||||
updateBluetoothLifecycle(); // bring BLE up/down for the current activity context
|
updateBluetoothLifecycle(); // bring BLE up/down for the current activity context
|
||||||
static bool lastBleConnected = false;
|
static bool lastBleConnected = false;
|
||||||
BleHid.poll(); // drive BLE auto-reconnect + key auto-repeat (no-op when BT off)
|
BleHid.poll(); // drive BLE auto-reconnect + key auto-repeat (no-op when BT off)
|
||||||
const bool bleConnected = BleHid.isConnected();
|
const bool bleConnected = BleHid.isConnected();
|
||||||
if (bleConnected && !lastBleConnected) {
|
if (bleConnected && !lastBleConnected) {
|
||||||
LOG_INF("BLELC", "connected name=%s heap=%u maxAlloc=%u", BleHid.connectedName(), ESP.getFreeHeap(),
|
LOG_INF("BLELC", "connected name=%s heap=%u maxAlloc=%u", BleHid.connectedName(), ESP.getFreeHeap(),
|
||||||
|
|||||||
Reference in New Issue
Block a user