Skip to content

Commit

Permalink
capitalisation of error message
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Oct 6, 2023
1 parent fce0c93 commit 4f0d396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/bluetooth/jswrap_bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ void jswrap_ble_findDevices(JsVar *callback, JsVar *options) {
JsVar *v = jsvObjectGetChildIfExists(options,"timeout");
if (v) time = jsvGetFloatAndUnLock(v);
} else if (options) {
jsExceptionHere(JSET_ERROR, "Expecting number or object, got %t", options);
jsExceptionHere(JSET_ERROR, "Expecting Number or object, got %t", options);
return;
}
if (isnan(time) || time < 10) {
Expand Down

0 comments on commit 4f0d396

Please sign in to comment.