diff options
| author | hathach <[email protected]> | 2013-04-25 15:43:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-25 15:43:33 +0700 |
| commit | 1ae548432099fde8ccf9b0be5de899b2168c1f41 (patch) | |
| tree | 9fb26986ab92ae6b7b3facdf244f0c93e04efc82 /tinyusb | |
| parent | 92994c8192afa29ddb6d7fb109e20bf7872efcec (diff) | |
finally able to get freeRTOS run with current mouse + keyboard example
NOTES: print_greeting if is executed before the start of freeRTOS scheduler --> hardfault
- print_greeting->vsprintf->systick -> bunch of ISR --> hardfault.
printf using serial after the start of scheduler is ok though
Diffstat (limited to 'tinyusb')
| -rw-r--r-- | tinyusb/common/assertion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/common/assertion.h b/tinyusb/common/assertion.h index 2a807b054..b0ec0da91 100644 --- a/tinyusb/common/assertion.h +++ b/tinyusb/common/assertion.h @@ -76,7 +76,7 @@ extern "C" //#if ( defined CFG_PRINTF_UART || defined CFG_PRINTF_USBCDC || defined CFG_PRINTF_DEBUG ) #if TUSB_CFG_DEBUG == 3 - #define _PRINTF(...) printf(__VA_ARGS__) + #define _PRINTF(...) printf(__VA_ARGS__) // PRINTF #else #define _PRINTF(...) #endif |
