Skip to content

Commit

Permalink
Enable analog input from Mojo
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Dec 7, 2021
1 parent 9b2ac8a commit ec88b57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MicroFPGA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ int MicroFPGAHub::DetectInstalledDevices()
peripherals.push_back(g_DeviceNameLaserTrig);
peripherals.push_back(g_DeviceNameCamTrig);

// Only the Au and Au+ have an ADC
if(id_ == g_id_au || id_ == g_id_aup){
// Only the Au, Au+ and Mojo have an ADC
if(id_ == g_id_au || id_ == g_id_aup || id_ == g_id_mojo){
peripherals.push_back(g_DeviceNameAnalogInput);
}

Expand Down

0 comments on commit ec88b57

Please sign in to comment.