[ms5607] fix delay function

main-solar-only
Richard Meadows 2016-08-04 17:27:01 +01:00
rodzic f6c1fcaab1
commit 8eb8a328f0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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--);
}