Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
b_id parameter fix to send / send_repeatedly
  • Loading branch information
gioblu committed Jul 24, 2016
1 parent 5fa70fc commit fe6936f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PJON.h
Expand Up @@ -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);
};

Expand Down

0 comments on commit fe6936f

Please sign in to comment.