kopia lustrzana https://github.com/bristol-seds/pico-tracker
[ms5607] fix delay function
rodzic
f6c1fcaab1
commit
8eb8a328f0
|
@ -87,7 +87,7 @@ struct calibration {
|
|||
* Implements a microsecond delay
|
||||
*/
|
||||
void delay_us(uint16_t microseconds) {
|
||||
int32_t i = microseconds * 16;
|
||||
volatile int32_t i = microseconds * 16;
|
||||
|
||||
while(i--);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue