@@ -37,7 +37,7 @@ extern void init( void ) ;
37
37
*
38
38
* \return Number of milliseconds since the program started (uint32_t)
39
39
*/
40
- extern uint32_t millis ( void ) ;
40
+ extern unsigned long millis ( void ) ;
41
41
42
42
/**
43
43
* \brief Returns the number of microseconds since the Arduino board began running the current program.
@@ -49,23 +49,23 @@ extern uint32_t millis( void ) ;
49
49
*
50
50
* \note There are 1,000 microseconds in a millisecond and 1,000,000 microseconds in a second.
51
51
*/
52
- extern uint32_t micros ( void ) ;
52
+ extern unsigned long micros ( void ) ;
53
53
54
54
/**
55
55
* \brief Pauses the program for the amount of time (in miliseconds) specified as parameter.
56
56
* (There are 1000 milliseconds in a second.)
57
57
*
58
- * \param dwMs the number of milliseconds to pause (uint32_t )
58
+ * \param ms the number of milliseconds to pause (unsigned long )
59
59
*/
60
- extern void delay ( uint32_t dwMs ) ;
60
+ extern void delay ( unsigned long ms ) ;
61
61
62
62
/**
63
63
* \brief Pauses the program for the amount of time (in microseconds) specified as parameter.
64
64
*
65
- * \param dwUs the number of microseconds to pause (uint32_t )
65
+ * \param dwUs the number of microseconds to pause (unsigned long )
66
66
*/
67
- static inline void delayMicroseconds (uint32_t ) __attribute__((always_inline , unused ));
68
- static inline void delayMicroseconds (uint32_t usec ){
67
+ static inline void delayMicroseconds (unsigned int ) __attribute__((always_inline , unused ));
68
+ static inline void delayMicroseconds (unsigned int usec ){
69
69
/*
70
70
* Based on Paul Stoffregen's implementation
71
71
* for Teensy 3.0 (http://www.pjrc.com/)
0 commit comments