1
0
Fork 0

test build of 'Host shield' in minimal env.

This commit is contained in:
tmk 2012-08-25 15:49:08 +09:00
parent 9382bf2f76
commit c5060ea819
26 changed files with 500 additions and 267 deletions

View file

@ -16,8 +16,8 @@
** SOFTWARE.
*/
//#define CDC_ENABLED
//#define HID_ENABLED
#define CDC_ENABLED
#define HID_ENABLED
#ifdef CDC_ENABLED

View file

@ -108,7 +108,6 @@ unsigned long micros() {
void delay(unsigned long ms)
{
//PORTB &= ~(1<<0);
uint16_t start = (uint16_t)micros();
while (ms > 0) {
@ -117,7 +116,6 @@ void delay(unsigned long ms)
start += 1000;
}
}
//PORTB |= (1<<0);
}
/* Delay for the given number of microseconds. Assumes a 8 or 16 MHz clock. */