__HOST -> __TARGET_HOST_X64

This commit is contained in:
Ruben Ayrapetyan
2014-07-31 22:23:05 +04:00
parent 7ba8167591
commit 020325d199
7 changed files with 20 additions and 20 deletions
+5 -5
View File
@@ -29,7 +29,7 @@
void
led_toggle (uint32_t led_id)
{
#ifdef __HOST
#ifdef __TARGET_HOST_x64
__printf ("led_toggle: %d\n", led_id);
#endif
@@ -42,7 +42,7 @@ led_toggle (uint32_t led_id)
void
led_on (uint32_t led_id)
{
#ifdef __HOST
#ifdef __TARGET_HOST_x64
__printf ("led_on: %d\n", led_id);
#endif
@@ -55,7 +55,7 @@ led_on (uint32_t led_id)
void
led_off (uint32_t led_id)
{
#ifdef __HOST
#ifdef __TARGET_HOST_x64
__printf ("led_off: %d\n", led_id);
#endif
@@ -67,7 +67,7 @@ led_off (uint32_t led_id)
void
led_blink_once (uint32_t led_id)
{
#ifdef __HOST
#ifdef __TARGET_HOST_x64
__printf ("led_blink_once: %d\n", led_id);
#endif
@@ -93,4 +93,4 @@ void initialize_leds()
GPIO_WriteBit(GPIOD, GPIO_Pin_12 | GPIO_Pin_13 | GPIO_Pin_14 | GPIO_Pin_15, Bit_RESET);
}
#endif
#endif
+1 -1
View File
@@ -60,7 +60,7 @@ analog_write (uint32_t arg1 __unused, uint32_t arg2 __unused)
void
wait_ms (uint32_t time_ms)
{
#ifdef __HOST
#ifdef __TARGET_HOST_x64
// 1 millisecond = 1,000,000 Nanoseconds
#define NANO_SECOND_MULTIPLIER 1000000
__printf ("wait_ms: %d\n", time_ms);