Skip to content

Commit 6815fed

Browse files
committed
pbio/platform/sim_hub: Use wall clock by default.
1 parent 8ca0183 commit 6815fed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
},
4848
"label": "build simhub (debug)",
4949
"type": "shell",
50-
"command": "make -C ../../micropython/mpy-cross -j && poetry run make DEBUG=1 BUILD=build-debug COPT=-DPBDRV_CONFIG_CLOCK_LOCAL -j",
50+
"command": "make -C ../../micropython/mpy-cross -j && poetry run make DEBUG=1 BUILD=build-debug -j",
5151
},
5252
{
5353
"label": "build test-pbio",

lib/pbio/platform/sim_hub/pbdrvconfig.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
#define PBDRV_CONFIG_BUTTON_TEST (1)
1616

1717
#define PBDRV_CONFIG_CLOCK (1)
18-
#ifdef PBDRV_CONFIG_CLOCK_LOCAL
19-
#define PBDRV_CONFIG_CLOCK_LINUX (1)
20-
#else
18+
#ifdef PBDRV_CONFIG_CLOCK_CI
2119
#define PBDRV_CONFIG_CLOCK_TEST (1)
20+
#else
21+
#define PBDRV_CONFIG_CLOCK_LINUX (1)
2222
#endif
2323

2424
#define PBDRV_CONFIG_COUNTER (1)

0 commit comments

Comments
 (0)