Permalink
Browse files

b_id parameter fix to send / send_repeatedly

  • Loading branch information...
gioblu committed Jul 24, 2016
1 parent 5fa70fc commit fe6936ff6ba90447387ad5a19463c644a984b650
Showing with 2 additions and 2 deletions.
  1. +2 −2 PJON.h
4 PJON.h
@@ -365,15 +365,15 @@ limitations under the License. */
return dispatch(id, bus_id, packet, length, 0);
};
uint16_t send(uint8_t id, uint8_t b_id, const char *packet, uint8_t length) {
uint16_t send(uint8_t id, uint8_t *b_id, const char *packet, uint8_t length) {
return dispatch(id, b_id, packet, length, 0);
};
uint16_t send_repeatedly(uint8_t id, const char *packet, uint8_t length, uint32_t timing) {
return dispatch(id, bus_id, packet, length, timing);
};
uint16_t send_repeatedly(uint8_t id, uint8_t b_id, const char *packet, uint8_t length, uint32_t timing) {
uint16_t send_repeatedly(uint8_t id, uint8_t *b_id, const char *packet, uint8_t length, uint32_t timing) {
return dispatch(id, b_id, packet, length, timing);
};

0 comments on commit fe6936f

Please sign in to comment.