fix map spinbox zoom
maximum value should be 32 and not 31
pios_semaphore: added
all target makefiles: added pios_semaphore.c
pios_flash_jedec: use pios_semaphore
all pios_flash_internal: use pios_semaphore
all pios_spi: use pios_sempaphore
all pios_i2c: use pios_semaphore
pios_hmc5883: use pios_semaphore
pios i2c and spi: fixed copyright header
pios_semaphore: add compile time check for dependencies
pios_semaphore requires either PIOS_INCLUDE_FREERTOS or PIOS_INCLUDE_IRQ to be defined
pios_semaphore: fixed initial state for non FreeRTOS implementation
Merge pull request #925 from lilvinz/pios_semaphore

Pios semaphore
fix comment
Merge pull request #931 from metropt/fix_map_spinbox_zoom

fix map spinbox zoom
Initial fix. UNTESTED.
Moved gyro temperature offset calibration to in front of rotation.
Formatting fixes.
Moved gyroscope accumulation after bias temperature correction.