Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix pybind11 errors and speech crash #76

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/ext_dev/include/maix_axp2101.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace maix::ext_dev::axp2101 {
/**
* @brief Get the battery voltage.
* @return uint16_t type, return battery voltage.
* @maixpy maix.ext_dev.axp2101.AXP2101.get_charger_status
* @maixpy maix.ext_dev.axp2101.AXP2101.get_bat_vol
*/
uint16_t get_bat_vol();

Expand Down
3 changes: 3 additions & 0 deletions components/nn/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ append_srcs_dir(ADD_SRCS "src")
list(APPEND ADD_REQUIREMENTS basic ini vision clipper2)

if(PLATFORM_MAIXCAM)
append_srcs_dir(ADD_SRCS "port/maixcam")
list(APPEND ADD_REQUIREMENTS maixcam_lib alsa_lib)
list(APPEND ADD_DYNAMIC_LIB "lib/libms_asr_sg2002.so")
list(APPEND ADD_DEFINITIONS -DDR_WAV_IMPLEMENTATION)
else()
append_srcs_dir(ADD_SRCS "port/linux")
endif()

register_component()
Expand Down
Loading
Loading