Skip to content

Commit

Permalink
added USB connected macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Paciente8159 committed Jul 1, 2023
1 parent e48da67 commit 3df667a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=uCNC-tinyusb
version=0.15.3
version=0.15.4
author=Ha Thach
maintainer=Ha Thach
sentence=TinyUSB Arduino CDC library for uCNC.
Expand Down
1 change: 1 addition & 0 deletions src/tusb_ucnc.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ extern "C"
#define tusb_cdc_write(ch) tud_cdc_n_write_char(0, ch)
#define tusb_cdc_write_available() tud_cdc_n_write_available(0)
#define tusb_cdc_write_buffer(buffer, bufsize) tud_cdc_n_write(0, buffer, bufsize)
#define tusb_cdc_connected tud_cdc_n_connected(0)

#ifdef __cplusplus
}
Expand Down

0 comments on commit 3df667a

Please sign in to comment.