]> git.droids-corp.org - protos/xbee-avr.git/blobdiff - spi_servo.c
save fuse prog command line in a comment
[protos/xbee-avr.git] / spi_servo.c
index 4b0d24191ef9aefb5f140d2309223b40c9e85a5e..c180bc907c9933e954df5bcbb0b136c2d6398b12 100644 (file)
@@ -24,8 +24,8 @@
  * callback is unloaded.
  */
 
  * callback is unloaded.
  */
 
-/* 1ms */
-#define SPI_EVT_PERIOD (10000UL/SCHEDULER_UNIT)
+/* 1 scheduler unit (682us at 12Mhz) */
+#define SPI_EVT_PERIOD (1)
 
 #define PPM_BIT    0x01
 #define BYPASS_BIT 0x02
 
 #define PPM_BIT    0x01
 #define BYPASS_BIT 0x02