test build of 'Host shield' in minimal env.
This commit is contained in:
parent
9382bf2f76
commit
c5060ea819
26 changed files with 500 additions and 267 deletions
|
@ -16,8 +16,8 @@
|
|||
** SOFTWARE.
|
||||
*/
|
||||
|
||||
//#define CDC_ENABLED
|
||||
//#define HID_ENABLED
|
||||
#define CDC_ENABLED
|
||||
#define HID_ENABLED
|
||||
|
||||
|
||||
#ifdef CDC_ENABLED
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue