Skip to content

Commit f135227

Browse files
committed
Extended webserver refresh timer, Fixed imu sphinx issues
1 parent 54283a4 commit f135227

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

XRPLib/imu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
# v1.0 2019.7
66
try:
77
from .imu_defs import *
8-
except TypeError:
8+
from uctypes import struct, addressof
9+
except (TypeError, ImportError):
910
# Import wrapped in a try/except so that autodoc generation can process properly
1011
pass
11-
from uctypes import struct, addressof
1212
from machine import I2C, Pin, Timer, disable_irq, enable_irq
1313
import time, math
1414

XRPLib/webserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def catch_all(request):
259259
<html>
260260
<head>
261261
<meta name="viewport" content="width=device-width, initial-scale=1">
262-
<meta http-equiv="refresh" content="0.25">
262+
<meta http-equiv="refresh" content="1">
263263
264264
<style>
265265
a { text-decoration: none; }

0 commit comments

Comments
 (0)