Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
b_id parameter fix to send / send_repeatedly
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
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); |
|
|
}; |
|
|
|
|
|