Browse files

network.h [not ENC28J60_SUPPORT]: don't compile enc28j60_txstart.

  • Loading branch information...
1 parent 0f9e3a5 commit 01adaa32e8edf4a605172351637db2e1a790eb1c @stesie stesie committed Dec 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 network.h
View
2 network.h
@@ -41,7 +41,6 @@ void network_process(void);
#ifdef ENC28J60_SUPPORT
/* send a packet placed in the global buffer */
void transmit_packet(void);
-#endif
static inline uint8_t enc28j60_txstart(void)
{
@@ -57,5 +56,6 @@ static inline uint8_t enc28j60_txstart(void)
return retval;
}
+#endif
#endif /* _NETWORK_H */

0 comments on commit 01adaa3

Please sign in to comment.