adjust indentation

This commit is contained in:
Emil Lerch 2023-04-29 17:21:21 -07:00
parent 797141a2cd
commit 4d36e6fc07
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
2 changed files with 182 additions and 187 deletions

View File

@ -194,7 +194,6 @@ void usbd_configure_done_callback(void)
void usbd_cdc_acm_bulk_out(uint8_t ep, uint32_t nbytes)
{
//4, 5 (shouldn't we be getting endpoint 2 here?)
debug_val_1 = ep; debug_val32_1 = nbytes;
USB_LOG_RAW("actual out len:%d\r\n", nbytes);
@ -204,7 +203,6 @@ void usbd_cdc_acm_bulk_out(uint8_t ep, uint32_t nbytes)
void usbd_cdc_acm_bulk_in(uint8_t ep, uint32_t nbytes)
{
//129, 14 (129=0x81=CDC_IN_EP)
debug_val_2 = ep; debug_val32_2 = nbytes;
USB_LOG_RAW("actual in len:%d\r\n", nbytes);
@ -315,9 +313,6 @@ void cdc_acm_log_with_dtr(const uint8_t *data, uint32_t data_len )
uint32_t out_inx = 0;
void log(const char *data){
/* memcpy(&write_buffer[0], data, strlen(data)); */
/* write_buffer[9] = 0x30 + debug_val_1; */
/* write_buffer[20] = 0x30 + debug_val_2; */
int len = snprintf(
(char *)&write_buffer[0],
2048,