Skip to content

Commit

Permalink
fix #271
Browse files Browse the repository at this point in the history
  • Loading branch information
cartoone222 committed Sep 21, 2024
1 parent 4300c42 commit ff4a801
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/port/mod/os/modos.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ extern "C" {
#error This file expects EPSILON_VERSION to be defined
#endif

#ifndef UPSILON_VERSION
#error This file expects UPSILON_VERSION to be defined
#endif

STATIC const MP_DEFINE_STR_OBJ(modos_uname_info_sysname_obj, "NumWorks");
STATIC const MP_DEFINE_STR_OBJ(modos_uname_info_nodename_obj, "");

STATIC const MP_DEFINE_STR_OBJ(modos_uname_info_release_obj, "O" MP_STRINGIFY(OMEGA_VERSION) "E-" MP_STRINGIFY(EPSILON_VERSION));
STATIC const MP_DEFINE_STR_OBJ(modos_uname_info_release_obj, "O" MP_STRINGIFY(OMEGA_VERSION) "E-" MP_STRINGIFY(EPSILON_VERSION) "U-" MP_STRINGIFY(UPSILON_VERSION));
STATIC const MP_DEFINE_STR_OBJ(modos_uname_info_version_obj, MICROPY_VERSION_STRING);

#if defined(DEVICE_N0110)
Expand Down

0 comments on commit ff4a801

Please sign in to comment.