Skip to content

Commit c9e0b49

Browse files
committed
Method 'error()' is only available when compiling for host, there is no need for it to be available for the target build since the member _ota_error is also available via 'update()'
1 parent 96a0be2 commit c9e0b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utility/ota/OTALogic.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ class OTALogic
6767

6868
#ifdef HOST
6969
inline OTAState state() const { return _ota_state; }
70-
#endif
7170
inline OTAError error() const { return _ota_error; }
71+
#endif
7272

7373

7474
private:

0 commit comments

Comments
 (0)