| 107 | } |
| 108 | |
| 109 | bool SBC_Version::IsRaspberryPi() |
| 110 | { |
| 111 | switch (sbc_version) { |
| 112 | case sbc_version_type::sbc_raspberry_pi_1: |
| 113 | case sbc_version_type::sbc_raspberry_pi_2_3: |
| 114 | case sbc_version_type::sbc_raspberry_pi_4: |
| 115 | return true; |
| 116 | default: |
| 117 | return false; |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | // The following functions are only used on the Raspberry Pi |
| 122 | // (imported from bcm_host.c) |
nothing calls this directly
no outgoing calls
no test coverage detected