File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ NetworkConnectionState GenericConnectionHandler::update_handleDisconnected() {
92
92
return _ch != nullptr ? _ch->update_handleDisconnected () : NetworkConnectionState::INIT;
93
93
}
94
94
95
- #if not defined(BOARD_HAS_LORA)
95
+ #if not ( defined(BOARD_HAS_LORA) or defined(BOARD_HAS_NOTECARD) )
96
96
unsigned long GenericConnectionHandler::getTime () { // FIXME _ch may be nullptr
97
97
return _ch->getTime ();
98
98
}
@@ -104,4 +104,5 @@ Client & GenericConnectionHandler::getClient() { // FIXME _ch may be nullptr
104
104
UDP & GenericConnectionHandler::getUDP () { // FIXME _ch may be nullptr
105
105
return _ch->getUDP ();
106
106
}
107
- #endif
107
+
108
+ #endif // not (defined(BOARD_HAS_LORA) or defined(BOARD_HAS_NOTECARD))
You can’t perform that action at this time.
0 commit comments