aboutsummaryrefslogtreecommitdiff
path: root/libnxt
diff options
context:
space:
mode:
authordave2006-05-18 00:21:28 +0000
committerdave2006-05-18 00:21:28 +0000
commitf787d5967c6ae3dd592fb5b9aaec7b50f867e4d8 (patch)
treea9d9f5fcc5dfcd379b6a463e6c3fc357c833bf5d /libnxt
parentb7b437b357a5a33b44e1101c99777fed5da16c93 (diff)
Clean up stuff
Diffstat (limited to 'libnxt')
-rw-r--r--libnxt/README2
-rw-r--r--libnxt/firmware.c2
-rw-r--r--libnxt/lowlevel.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/libnxt/README b/libnxt/README
index 9158eeb..6d82831 100644
--- a/libnxt/README
+++ b/libnxt/README
@@ -11,7 +11,7 @@ computer to talk a Lego Mindstorms NXT intelligent brick. This
includes:
- Handling USB communication and locating the NXT in the USB tree,
- - Interaction with the Amtel AT91SAM boot assistant; especially:
+ - Interaction with the Atmel AT91SAM boot assistant; especially:
- Flashing of a firmware image to the NXT
Currently planned features:
diff --git a/libnxt/firmware.c b/libnxt/firmware.c
index 39a649d..abd810f 100644
--- a/libnxt/firmware.c
+++ b/libnxt/firmware.c
@@ -61,7 +61,7 @@ nxt_flash_block(nxt_t *nxt, nxt_word_t block_num, char *buf)
// Jump into the flash writing routine
NXT_ERR(nxt_jump(nxt, 0x202000));
- return NXT_OK; //nxt_wait_for_flash(nxt);
+ return NXT_OK;
}
diff --git a/libnxt/lowlevel.c b/libnxt/lowlevel.c
index 80bb99c..49b2745 100644
--- a/libnxt/lowlevel.c
+++ b/libnxt/lowlevel.c
@@ -32,7 +32,7 @@
enum nxt_usb_ids {
VENDOR_LEGO = 0x0694,
- VENDOR_AMTEL = 0x03EB,
+ VENDOR_ATMEL = 0x03EB,
PRODUCT_NXT = 0x0002,
PRODUCT_SAMBA = 0x6124
};
@@ -68,7 +68,7 @@ nxt_error_t nxt_find(nxt_t *nxt)
for (dev = bus->devices; dev != NULL; dev = dev->next)
{
- if (dev->descriptor.idVendor == VENDOR_AMTEL &&
+ if (dev->descriptor.idVendor == VENDOR_ATMEL &&
dev->descriptor.idProduct == PRODUCT_SAMBA)
{
nxt->dev = dev;