File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ports/raspberrypi/common-hal/os Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ static const qstr os_uname_info_fields[] = {
2222 MP_QSTR_sysname , MP_QSTR_nodename ,
2323 MP_QSTR_release , MP_QSTR_version , MP_QSTR_machine
2424};
25- static const MP_DEFINE_STR_OBJ (os_uname_info_sysname_obj , " rp2040 " );
26- static const MP_DEFINE_STR_OBJ (os_uname_info_nodename_obj , " rp2040 " );
25+ static const MP_DEFINE_STR_OBJ (os_uname_info_sysname_obj , MICROPY_HW_MCU_NAME ) ;
26+ static const MP_DEFINE_STR_OBJ (os_uname_info_nodename_obj , MICROPY_HW_MCU_NAME ) ;
2727static const MP_DEFINE_STR_OBJ (os_uname_info_release_obj , MICROPY_VERSION_STRING ) ;
2828static const MP_DEFINE_STR_OBJ (os_uname_info_version_obj , MICROPY_GIT_TAG " on " MICROPY_BUILD_DATE );
2929static const MP_DEFINE_STR_OBJ (os_uname_info_machine_obj , MICROPY_HW_BOARD_NAME " with " MICROPY_HW_MCU_NAME );
You can’t perform that action at this time.
0 commit comments