Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 2, 2024
1 parent c776b2c commit beba579
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/jswrap_pin.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ void jswrap_pin_write(
"generate" : "jswrap_pin_writeAtTime",
"params" : [
["value", "bool", "Whether to set output high (true/1) or low (false/0)"],
["time", "float", "Time at which to write"]
["time", "float", "Time at which to write (in seconds)"]
]
}
Sets the output state of the pin to the parameter given at the specified time.
Expand Down
1 change: 1 addition & 0 deletions targets/nrf5x/bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -3622,6 +3622,7 @@ void jsble_central_characteristicDescDiscover(uint16_t central_conn_handle, JsVa
range.end_handle = handle_value+1;

uint32_t err_code;
// This causes a BLE_GATTC_EVT_DESC_DISC_RSP to be received when we get the response
err_code = sd_ble_gattc_descriptors_discover(central_conn_handle, &range);
JsVar *errStr = jsble_get_error_string(err_code);
if (errStr) {
Expand Down

0 comments on commit beba579

Please sign in to comment.