projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Arduino port is working, but only at 9600 baud.
[goodfet]
/
firmware
/
lib
/
command.c
diff --git
a/firmware/lib/command.c
b/firmware/lib/command.c
index
ec74ebb
..
92c0b4c
100644
(file)
--- a/
firmware/lib/command.c
+++ b/
firmware/lib/command.c
@@
-165,7
+165,7
@@
void delay_ms( unsigned int ms )
}
TBCTL = 0x0204; // Reset Timer B, till next time
#else
}
TBCTL = 0x0204; // Reset Timer B, till next time
#else
- #warning "Function unimplemented for this platform."
+ debugstr("delay_ms unimplemented");
#endif
}
#endif
}
@@
-182,7
+182,7
@@
void delay_us( unsigned int us )
}
TBCTL = 0x0204; // Reset Timer B, till next time
#else
}
TBCTL = 0x0204; // Reset Timer B, till next time
#else
- #warning "Function unimplemented for this platform."
+ debugstr("delay_us unimplemented");
#endif
}
#endif
}
@@
-195,6
+195,6
@@
void delay_ticks( unsigned int num_ticks )
asm( "nop" );
TBCTL = 0x0204; // Reset Timer B, till next time
#else
asm( "nop" );
TBCTL = 0x0204; // Reset Timer B, till next time
#else
- #warning "Function unimplemented for this platform."
+ debugstr("delay_ticks unimplemented");
#endif
}
#endif
}