Remove optional<> for pointer types (#6120)

This commit is contained in:
Stefan Rado
2024-01-19 14:30:57 +01:00
committed by GitHub
parent 6a8da17ea3
commit 2f09624c07
4 changed files with 16 additions and 22 deletions
+1 -1
View File
@@ -141,7 +141,7 @@ class BedJetHub : public esphome::ble_client::BLEClientNode, public PollingCompo
#ifdef USE_TIME
/** Initializes time sync callbacks to support syncing current time to the BedJet. */
void setup_time_();
optional<time::RealTimeClock *> time_id_{};
time::RealTimeClock *time_id_{nullptr};
#endif
uint32_t timeout_{DEFAULT_STATUS_TIMEOUT};