diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-22 13:26:43 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-08-22 13:26:43 -0400 |
| commit | 64e8a234bfbfbf0569fc8522576f58f4c41d6b16 (patch) | |
| tree | 8d4ab7e90e2782274a10c742195348fb37bf0fdb /main.cpp.example | |
| parent | 715a63dccb3a39d7d0502fb39b900c8302a60a87 (diff) | |
usb_serial.cpp: Neaten up reset signal RX hook.
Move magic bytes from stack to Flash. De-magic-number sizeof magic
byte buffer. Use uintptr_t instead of unsigned int when casting
address of wait_reset().
Based on a patch by Michael Hope.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'main.cpp.example')
0 files changed, 0 insertions, 0 deletions
