]> git.sur5r.net Git - cc65/commitdiff
The C128 has RS232, too
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 27 Nov 2002 22:37:55 +0000 (22:37 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Wed, 27 Nov 2002 22:37:55 +0000 (22:37 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1663 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/rs232.h

index ba4b4e01808995829a5e2e0698173fae5c250b28..617dfd9366ff51c50ca874d743dfe8196b47482a 100644 (file)
@@ -20,7 +20,7 @@
 /*****************************************************************************/
 
 
-#if defined(__C64__)
+#if defined(__C64__) || defined(__C128__)
 
 /* Baudrate settings */
 #define RS_BAUD_50                             0x00
@@ -153,7 +153,7 @@ unsigned char __fastcall__ rs232_pause (void);
 unsigned char __fastcall__ rs232_unpause (void);
 /* Re-enable interrupts and release flow control */
 
-unsigned char __fastcall__ rs232_status (unsigned char* status, 
+unsigned char __fastcall__ rs232_status (unsigned char* status,
                                         unsigned char* errors);
 /* Return the serial port status. */