Changeset f82e9af7 in rtems


Ignore:
Timestamp:
Mar 7, 2017, 1:55:58 PM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
f25c798
Parents:
504a5822
git-author:
Sebastian Huber <sebastian.huber@…> (03/07/17 13:55:58)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/08/17 14:36:54)
Message:

bsp/lpc176x: Fix integer to pointer warnings

Location:
c/src/lib/libbsp/arm/lpc176x
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/lpc176x/adc/adc.c

    r504a5822 rf82e9af7  
    2020#include <bsp/adc-defs.h>
    2121
    22 static lpc176x_adc_device *const adc_device = AD0_BASE_ADDR;
     22static lpc176x_adc_device *const adc_device =
     23  (lpc176x_adc_device *) AD0_BASE_ADDR;
    2324
    2425static const lpc176x_adc_pin_map adc_pinmap[ ADC_DEVICES_COUNT ] =
  • c/src/lib/libbsp/arm/lpc176x/pwmout/pwmout.c

    r504a5822 rf82e9af7  
    2424 * @brief The low level device.
    2525 */
    26 static lpc176x_pwm_device *const pwm_device = PWM1_BASE_ADDR;
     26static lpc176x_pwm_device *const pwm_device =
     27  (lpc176x_pwm_device *) PWM1_BASE_ADDR;
    2728
    2829/**
Note: See TracChangeset for help on using the changeset viewer.