Skip to content

Commit

Permalink
put guard around iwm_slip
Browse files Browse the repository at this point in the history
  • Loading branch information
a8jan committed Nov 8, 2023
1 parent 021f8ae commit 43b428a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/bus/iwm/iwm_slip.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#ifndef ESP_PLATFORM
#ifdef BUILD_APPLE

#if SMARTPORT == SLIP
Expand Down Expand Up @@ -64,6 +65,7 @@ size_t iwm_slip::decode_data_packet(uint8_t* input_data, uint8_t* output_data)

iwm_slip smartport;

#endif
#endif // SMARTPORT == SLIP

#endif
#endif // BUILD_APPLE
#endif // !ESP_PLATFORM

0 comments on commit 43b428a

Please sign in to comment.