Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ensure its pointer fix
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
strategies/ThroughHardwareSerial/ThroughHardwareSerial.h
|
@@ -43,7 +43,7 @@ class ThroughHardwareSerial { |
|
|
/* Returns the Serial object value i.e. if(Serial) */ |
|
|
|
|
|
boolean can_start(uint8_t input_pin, uint8_t output_pin) { |
|
|
return *serial; |
|
|
return (serial != NULL) && *serial; // Check if pointer |
|
|
}; |
|
|
|
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.