Skip to content

Commit

Permalink
Fixed MAC build
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Taradov committed Dec 21, 2015
1 parent 85adff0 commit aa2049a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbg_mac.c
Expand Up @@ -40,6 +40,7 @@
/*- Variables ---------------------------------------------------------------*/
static hid_device *handle = NULL;
static uint8_t hid_buffer[1024 + 1];
static int report_size = 512; // TODO: read actual report size

/*- Implementations ---------------------------------------------------------*/

Expand Down Expand Up @@ -108,8 +109,7 @@ void dbg_close(void)
//-----------------------------------------------------------------------------
int dbg_get_report_size(void)
{
// TODO: implement
return 512;
return report_size;
}

//-----------------------------------------------------------------------------
Expand Down

0 comments on commit aa2049a

Please sign in to comment.