From 9a653a1a754e0adba5efa5ba16b2d2ea82c31d34 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Thu, 13 Sep 2012 09:05:09 -0700 Subject: [PATCH] Update README_AP_HAL.md formatting --- README_AP_HAL.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README_AP_HAL.md b/README_AP_HAL.md index 672f5df390..993d242db2 100644 --- a/README_AP_HAL.md +++ b/README_AP_HAL.md @@ -122,19 +122,17 @@ pinMode, digitalRead, and digitalWrite. When using the coreless Arduino IDE to build for AVR, you will need the following three libraries included in the top level of your sketch: - ``` + #include #include #include - ``` + and then declare one of the following hal lines depending on your platform: - ``` + const AP_HAL::HAL& hal = AP_HAL_AVR_APM1; - ``` - or - ``` +or + const AP_HAL::HAL& hal = AP_HAL_AVR_APM2; - ``` ----------------------- AP\_HAL Library Contents